Dropdown Menu Trigger automatically highlights when blurring the menu #3313
Answered
by
jovanblazek
ssebastianoo
asked this question in
Q&A
-
Why does the dropdown menu trigger highlights everytime I close the dropdown? random-focus.mp4 |
Beta Was this translation helpful? Give feedback.
Answered by
jovanblazek
Apr 15, 2024
Replies: 2 comments 2 replies
-
Try adding <DropdownMenuContent onCloseAutoFocus={(e) => e.preventDefault()}> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ssebastianoo
-
And this issue is still not fixed |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try adding
onCloseAutoFocus
onDropdownMenuContent
. It solved it for me