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
This commit is contained in:
Csaba Tuncsik 2023-12-14 12:37:03 +01:00 committed by GitHub
parent 3436f15e82
commit fcb8b91f37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,10 +120,6 @@ export default defineComponent({
this.$router.go(-1); this.$router.go(-1);
} }
}, },
'workflowsStore.activeWorkflowExecution'() {
this.checkListSize();
this.scrollToActiveCard();
},
}, },
mounted() { mounted() {
// On larger screens, we need to load more then first page of executions // On larger screens, we need to load more then first page of executions