Closed maelp closed 9 months ago
@zernonia if you have some tips on how I could do a small patch to fix it for now until you have time to make a clean edit I'd love to see it (I'm trying to use this for something in prod haha)
I think you can add max-height
to DropdownMenuContent.vue
as see? 😁
yes but I'm not sure that's sufficient: if the screen is small and the dropdown goes "outside the view" but the max-height is bigger than the available space, it is still not going to scroll... not sure if javascript is needed?
Like doing something with this value? https://github.com/radix-vue/radix-vue/blob/main/packages/radix-vue/src/Select/SelectItemAlignedPosition.vue#L108
I think that this is successfully closed in #264 🙂
Environment
Link to minimal reproduction
none
Steps to reproduce
When the list is too long, the list goes outside the view, and it's not possible to scroll
Describe the bug
Expected behavior
The view should stop at the border of the screen (either top, if the items are shown above the Dropdown / Select, or bottom if shown below) and it should be scrollable
Conext & Screenshots (if applicable)
No response