From fcb8b91f37e1fb0ef42f411c84390180e1ed7bbe Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Thu, 14 Dec 2023 12:37:03 +0100 Subject: [PATCH] fix(editor): Disable auto scroll and list size check when clicking on executions (#7983) ## Summary Auto scrolling to the active execution is unnecessary as well as checking if more items can be loaded. #### How to test the change: 1. Open a workflow with a long list of executions (preferably with more executions that fits in the list when first rendered and need to use infinite scroll to load more items) 2. Go to executions tabs 3. Scroll to the bottom 4. Click on an item that is visible only if the list is scrolled down. The list should not be scrolled to the active item automatically --- .../src/components/ExecutionsView/ExecutionsSidebar.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue b/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue index d8c26cd5d..2f6b482b7 100644 --- a/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue +++ b/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue @@ -120,10 +120,6 @@ export default defineComponent({ this.$router.go(-1); } }, - 'workflowsStore.activeWorkflowExecution'() { - this.checkListSize(); - this.scrollToActiveCard(); - }, }, mounted() { // On larger screens, we need to load more then first page of executions