Skip to content

Commit

Permalink
Correct focus behavior when remaining in 'labels' sidebar after activ…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
aneust committed Nov 14, 2024
1 parent 2b8c5c4 commit 9b9f1c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/assets/js/annotations/annotatorContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ export default {
}
Events.$on('focusTypeaheadEvent', () => {
this.focusInputFindlabel = false;
this.$nextTick(() => {
this.focusInputFindlabel = true;
});
Expand Down
1 change: 1 addition & 0 deletions resources/assets/js/videos/videoContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ export default {
}
Events.$on('focusTypeaheadEvent', () => {
this.focusInputFindlabel = false;
this.$nextTick(() => {
this.focusInputFindlabel = true;
});
Expand Down

0 comments on commit 9b9f1c3

Please sign in to comment.