mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Scroll to input on keyup
This commit is contained in:
parent
a85902a18f
commit
f2d8f9865b
1 changed files with 1 additions and 2 deletions
|
|
@ -11,8 +11,7 @@
|
|||
placeholder="Type to Search"
|
||||
autofocus
|
||||
autocomplete="off"
|
||||
@keyup="queryResults(query)"
|
||||
@focus="scrollInputToTop()"
|
||||
@keyup="queryResults(query); scrollInputToTop()"
|
||||
>
|
||||
<div class="search-input-separator border-white border-t-2" />
|
||||
<div class="quick-buttons overflow-x-auto whitespace-no-wrap py-2 space-x-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue