@headlessui/react@next set maxHeight on ListboxOptions #3025
Unanswered
hauptrolle
asked this question in
Help
Replies: 2 comments
-
Seems to be caused by the floating-ui sizeMiddleware: headlessui/packages/@headlessui-react/src/internal/floating.tsx Lines 295 to 301 in 043edb8 I'm not familiar with floating-ui, but maybe exposing the floating Context might help? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@RobinMalfait Hey 👋 Can we get some feedback on this one? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
does anyone has managed to set a
maxHeight
to the new ListboxOptions component? (@headlessui/react@next
).It get's an inline style of
maxHeight
which always fills the whole available space. That is quite annoying :(Any help is appreciated ✌️
Beta Was this translation helpful? Give feedback.
All reactions