[Dialog, Popover] manually setting open
to false
does not restore focus to trigger
#1109
Labels
bug
Something isn't working
open
to false
does not restore focus to trigger
#1109
Describe the bug
This issue was first mentioned here #960, but figured I would open a new issue since #960 is about exposing additional stuff.
When using a dialog or popover, if you manually set the
open
store tofalse
, the focus does not restore to the trigger.Screen.Recording.2024-03-20.at.2.24.07.PM.mov
Reproduction
https://stackblitz.com/edit/github-bn3cdm?file=src/routes/+page.svelte
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: