Replies: 1 comment
-
Focus management, the bane of my existence 😃 Looking into the Command issue as that's separate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
For some reason the popover will steal back focus much later than expected after closing. The timing of it seems to be ~150ms
I have a command nested in a popover and I set the open for the popover to false when an option in selected. I then set a timeout on the onSelect event to focus the next input but then I get the below behavior.
P.S. I tried to upgrade to the latest version of bits and the searching for the command completely broke for this component like typing the value of something completely correctly wouldn't result in that item being shown in any case the above issue persisted.
Reproduction
https://www.shadcn-svelte-extras.com/components/phone-input
Logs
System Info
Severity
annoyance
Beta Was this translation helpful? Give feedback.
All reactions