Skip to content

Commit

Permalink
Merge pull request #3839 from Roardom/fix-quicksearch-escape
Browse files Browse the repository at this point in the history
(Fix) Escaping out of quick search
  • Loading branch information
HDVinnie committed May 21, 2024
2 parents bf4abdb + cf9afb5 commit ef6de05
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resources/views/livewire/quick-search-dropdown.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<div
class="quick-search"
x-data="{ ...quickSearchKeyboardNavigation() }"
x-on:keydown.escape.window="
$refs.movieSearch.blur();
$refs.seriesSearch.blur();
$refs.personSearch.blur()
"
x-on:keydown.escape.window="$refs.quickSearch.blur();"
>
<div class="quick-search__inputs">
<div class="quick-search__radios">
Expand Down

0 comments on commit ef6de05

Please sign in to comment.