Browse Source

fix: trigger search on keydown rather than keyup

main
Inhji Y. 4 months ago
parent
commit
1049647661
  1. 2
      lib/mirage_web/live/goto_anything_live.html.leex

2
lib/mirage_web/live/goto_anything_live.html.leex

@ -4,7 +4,7 @@
type="text"
placeholder="Search for anything..."
autocomplete="off"
phx-keyup="search"
phx-keydown="search"
phx-debounce="100">
</form>

Loading…
Cancel
Save