Skip to content

Combobox overflow question #3573

Answered by TwilioPasteBot
tonge495 asked this question in Q&A
Discussion options

You must be logged in to vote

Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary.


Hello!

The Multiselect Combobox in Paste is designed to grow vertically to accommodate the selected options. This is done using Form Pills to represent each selection. However, if you find that this creates too much white space, you can limit the vertical resizing by providing a maxHeight prop to the Combobox. This will set a maximum height for the Combobox and if there are more pills than viewable at max height, users can vertically scroll to view all the selected options.

Here's an example of how you can use the maxHeight prop:

<Co…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by serifluous
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