-
If I want to render a custom Search input (or any other input) inside of a Dropdown Menu / Context Menu / Select / Menubar, is it possible to prevent default keyboard navigation behaviour when user types something inside of the input? Right now, when you try to type something in the input, the keyboard navigation jumps in and moves your focus away from the input. Doing |
Beta Was this translation helpful? Give feedback.
Answered by
snelsi
Jun 9, 2023
Replies: 1 comment
-
Ah, looks like adding onKeyDown={(e) => e.stopPropagation()}
onKeyDownCapture={(e) => e.stopPropagation()} fixes the problem |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
snelsi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, looks like adding
fixes the problem