Remove universal search hooks

- Global shortcuts don't work
- Focus input on open can be achieved just with 'autofocus' attribute
- Maintaining focus when input is active can be achieved just by adding
  an ID to the input
This commit is contained in:
Claudio Ortolina
2025-07-06 09:13:11 +01:00
parent 7056334a06
commit b86e8abd52
4 changed files with 3 additions and 64 deletions
@@ -118,7 +118,7 @@
</div>
</main>
<div phx-hook="Search" id="search-global-hook">
<div>
{live_render(@socket, MusicLibraryWeb.UniversalSearchLive.Index,
id: "universal-search",
session: %{}