Open xkomiks opened 2 weeks ago
When opening a popover over a modal window, the focus is moved to popover.
When clicking on Dialog.Content, the popover closes When clicking on Dialog.Overlay, the popover and dialog close
https://codesandbox.io/p/sandbox/radix-ui-dialog-forked-mgrzrd?workspaceId=a4b71791-adc5-4752-b50f-7be66d4db979
I'm trying to open a Drawer from a popover. I want to close the popover when I open the drawer. Doing so programatically, with a controlled open prop on the popover, will also close the drawer. Undesired behaviour.
open
Bug report
Current Behavior
Expected behavior
When opening a popover over a modal window, the focus is moved to popover.
When clicking on Dialog.Content, the popover closes When clicking on Dialog.Overlay, the popover and dialog close
Reproducible example
https://codesandbox.io/p/sandbox/radix-ui-dialog-forked-mgrzrd?workspaceId=a4b71791-adc5-4752-b50f-7be66d4db979
Suggested solution
Additional context
Your environment