ui
ui copied to clipboard
Dropdown Menu doesn't allow scrolling
Is there a particular reason why Dropdown Menu
does not allow scrolling, while Menubar
does?
Can I help you
did you got any solution on this :( this is soo problematic
This is because of accessibility. If you want to keep the content outside of the dropdown interactive you can use modal={false}
in DropdownMenu.Root
Try wrapping https://ui.shadcn.com/docs/components/scroll-area It helped me
Try wrapping https://ui.shadcn.com/docs/components/scroll-area It helped me
I tried it, It's not helping
Does anyone have a better solution?
Does anyone have a better solution?
This works:
Just add <DropdownMenu modal={false}>
and It'll work.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.