When you click on it, it should navigate and close the dropdown.
Screenshots
I have a navbar on every routes containing that dropdown.
Desktop (please complete the following information):
OS: Windows
Browser chrome
Version 124
Additional context
If I add closeOnSelect={false}, it works but then it doesn't close the dropdown.
Is there a way that I can maybe close the dropdown after 100ms or after a tick using queueMicrotask ?
Describe the bug
When clicking on a
<a>
inside of aDropdownMenu.Item
, we don't get any navigation and the dropdown closes.To Reproduce Steps to reproduce the behavior:
Expected behavior
When you click on it, it should navigate and close the dropdown.
Screenshots
I have a navbar on every routes containing that dropdown.
Desktop (please complete the following information):
Additional context
If I add
closeOnSelect={false}
, it works but then it doesn't close the dropdown. Is there a way that I can maybe close the dropdown after 100ms or after a tick usingqueueMicrotask
?