When the dropdown menu is visible and you want to switch to another input element, you need to click twice: once to close the dropdown menu and a second time to focus on the input element. This behavior also occurs in "shadcn-svelte," which uses "bits.ui." I also tested if this happens in React's "shadcn," and it does not. I don't think that the double-click is the desired behavior.
Describe the bug
When the dropdown menu is visible and you want to switch to another input element, you need to click twice: once to close the dropdown menu and a second time to focus on the input element. This behavior also occurs in "shadcn-svelte," which uses "bits.ui." I also tested if this happens in React's "shadcn," and it does not. I don't think that the double-click is the desired behavior.
Reproduction
https://stackblitz.com/edit/github-u5ovki?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
System Info
Severity
annoyance