primitives
primitives copied to clipboard
[Popper] Add support for limiting height to available space
Description
Add support for limiting height to available space. Fixes #1596
Basically introduces a prop for popper based components that can limit the height of the content based on available space:
Turns out this still has bugs. Going to kick it back to draft.
Hey @paul-sachs , thanks for your effort here and apologies for the delay. We’ve had quite a few requests for extra flexibility in the positioning, sizing, collision handling and have been discussing internally the best approach for extending these options while providing an intuitive public api.
For that reason we’re likely to address these via a holistic change, but I wanted to provide a follow up and let you know we've seen and are considering the options 🙏
@andy-hook any movement on this? Was hoping to close a few bugs in our design system caused by this. Moving to the updated Select will solve some of the issues but we've got some custom popovers that will still suffer from this issue.
Superseded by #1942