Skip to content
Discussion options

You must be logged in to vote

Hey,

the Select component exposes a property expandToViewport:

By default, the dropdown height is constrained to fit inside the height of its next scrollable container element. Enabling this property will allow the dropdown to extend beyond that container by using fixed positioning and React Portals .

Set this property if the dropdown would otherwise be constrained by a scrollable container, for example inside table and split view layouts.

We recommend you use discretion, and don't enable this property unless necessary because fixed positioning results in a slight, visible lag when scrolling complex pages.

Can you check if this fits your use-case and verify that it solves the problem yo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dominikw2
Comment options

Answer selected by dominikw2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants