Skip to content

Commit

Permalink
Merge pull request #7663 from owncloud/fix-search-event-violation
Browse files Browse the repository at this point in the history
Fix search reacts on enter event if not active
  • Loading branch information
kulmann authored Sep 20, 2022
2 parents da59712 + cb03b63 commit a7718ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/web-app-search/src/portals/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ export default {
? false
: eventInComponent && !elementIsInteractive && !keyEventEnter
if (!eventInComponent) {
return
}
if (keyEventEnter) {
this.$router.push(
createLocationCommon('files-common-search', {
Expand Down

0 comments on commit a7718ed

Please sign in to comment.