scroller: give focus back to recycler after interaction

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/953/head
Varun Patil 2023-11-21 10:20:25 -08:00
parent 3fe9fdc363
commit b9a4be7d20
1 changed files with 1 additions and 0 deletions

View File

@ -591,6 +591,7 @@ export default defineComponent({
this.interacting = false; this.interacting = false;
this.recyclerScrolled(null); // make sure final position is correct this.recyclerScrolled(null); // make sure final position is correct
this.$emit('interactend'); // tell recycler to load stuff this.$emit('interactend'); // tell recycler to load stuff
this.recycler?.$el.focus(); // give focus back to recycler
}, },
/** Update scroller is being used to scroll recycler */ /** Update scroller is being used to scroll recycler */