Skip to content

docs: add fixed height example to select#4460

Open
clint-code wants to merge 1 commit intosaadeghi:masterfrom
clint-code:master
Open

docs: add fixed height example to select#4460
clint-code wants to merge 1 commit intosaadeghi:masterfrom
clint-code:master

Conversation

@clint-code
Copy link

Added a fixed height usage example to the Select component documentation, by using the max-h- and overflow-y-auto utility classes, within the select menu, improving usability and layout stability.

Closes #4440

Copy link
Owner

@saadeghi saadeghi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

This example is "With fieldset and labels".
Please add a new block for the fixed height, and make sure the html code block is also including the new class names.

@pdanpdan
Copy link
Contributor

pdanpdan commented Mar 10, 2026

Hello. Have you checked this? Can you please make a pen reproduction to show the result? Also the square brackets for z-1 are useless.

https://play.tailwindcss.com/BCdBXZllpk - it has no effect
check in the issue on how it should be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Add example of select/dropdown with fixed height and many options

3 participants