Replies: 1 comment 2 replies
-
Hi @giladv, yes you are correct that this is a limitation of this primitive currently. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Here's an example of what i mean:
https://codesandbox.io/s/kdbbq?module=App.js&file=/App.js
essentially, a long list of items on a dropdown stretches the entire page.
expected behavior
The dropdown is trimmed in height to fit the entire available vertical space, added an overflow auto and maybe even autoscroll when a hidden item is focused.
also, even if i wanted to implement that kind of a behavior myself, the logic popper js logic is not exposed so we can't easily calculate the content height + absolute location to know how to size it..
or am i missing something?
Beta Was this translation helpful? Give feedback.
All reactions