Open jyavorska opened 10 months ago
@jyavorska As quick fix can you try
<RadixDropdown.Trigger onFocusCapture={(event) => { event.stopPropagation(); }}...
Nice, that fixed my dropdown issue @tvankith!
I am not able to reproduce closing issue in popover component. Can you share code sample
@tvankith after some more testing it's this issue: https://github.com/radix-ui/primitives/issues/2348, so I'll look there for ideas.
@jyavorska As quick fix can you try
<RadixDropdown.Trigger onFocusCapture={(event) => { event.stopPropagation(); }}...
thanks, this also fixed my issue with DropdownMenu
(for info, this bug does not seem to occur with radix Popover
)
Bug report
Current Behavior
Here is the behavior when using Firefox 120.0.1 on Android 14 (occurs both on Pixel 7 running 14 and in emulator):
https://github.com/radix-ui/primitives/assets/3529318/88f31fdd-3b0c-49c5-be68-7150d99194e9
This is the minimal repro:
Expected behavior
Menu should stay open
Reproducible example
https://codesandbox.io/p/sandbox/confident-chebyshev-ycrqlr?file=%2Fsrc%2FApp.tsx
Suggested solution
Additional context
Your environment