mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: hide search results on unfocus
This commit is contained in:
1 parent
8e5a588e87
commit
ec5dfd7727
1 file changed
+2
@@ -72,6 +72,7 @@ export default function Page() {
|
||||
<TextField.Slot>
|
||||
<PersonIcon height="16" width="16" />
|
||||
</TextField.Slot>
|
||||
|
||||
<TextField.Input
|
||||
defaultValue={session.isTracking ? session.nickname : undefined}
|
||||
ref={input}
|
||||
@@ -85,6 +86,7 @@ export default function Page() {
|
||||
|
||||
handleChange(event);
|
||||
}}
|
||||
onBlur={() => setShowSearchResults(false)}
|
||||
placeholder="Search for a player..."
|
||||
/>
|
||||
</TextField.Root>
|
||||
|
||||
Reference in new issue
Block a user