ui icon indicating copy to clipboard operation
ui copied to clipboard

Dropdown Menu doesn't allow scrolling

Open binajmen opened this issue 1 year ago • 8 comments

Is there a particular reason why Dropdown Menu does not allow scrolling, while Menubar does?

binajmen avatar Apr 02 '23 07:04 binajmen

Can I help you

krishraiturkar avatar Apr 04 '23 11:04 krishraiturkar

did you got any solution on this :( this is soo problematic

adarshaacharya avatar Oct 12 '23 15:10 adarshaacharya

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

joaom00 avatar Oct 12 '23 16:10 joaom00

Try wrapping https://ui.shadcn.com/docs/components/scroll-area It helped me

skillnett avatar Oct 12 '23 16:10 skillnett

Try wrapping https://ui.shadcn.com/docs/components/scroll-area It helped me

I tried it, It's not helping

calebjoshuapaul avatar Oct 30 '23 06:10 calebjoshuapaul

Does anyone have a better solution?

calebjoshuapaul avatar Oct 30 '23 06:10 calebjoshuapaul

Does anyone have a better solution?

This works: Screenshot 2023-10-31 at 22 19 50

seblawrence avatar Oct 31 '23 22:10 seblawrence

Just add <DropdownMenu modal={false}> and It'll work.

aashish-dhiman avatar Dec 23 '23 11:12 aashish-dhiman

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.

shadcn avatar Jul 09 '24 23:07 shadcn