Scrollable dropdown #120
-
Hi! How to make the list of options in the dropdown panel scrollable? I've tried to wrap DropdownMenuPanel with ScrollArea but scrollbar would leak out, be visible when panel is collapsed and push options down when expanded... |
Beta Was this translation helpful? Give feedback.
Answered by
alexstyl
Oct 5, 2025
Replies: 1 comment 6 replies
-
You can make the contents scrollable in any way you normally do in Compose. (ie Modifier.scrollable(), lazy lists, etc) Share the code you tried and I can help you out further. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The 'size out of range' exception is because you are placing the scrollbar inside of the scrollable area. To make it work move outside of the
Box()
, but inside of theScrollArea()
: