Skip to content

bug: Select has no support for 'size' attribute #4047

@cmattless

Description

@cmattless

Reproduction URL (Required)

https://play.tailwindcss.com/p7e5XPtFvW

What version of daisyUI are you using?

5.0.46

Which browsers are you seeing the problem on?

Firefox

Describe your issue

When a select has many options it is desirable to have them scrollable rather than extend the list down the page.
This is usually achieved by using the 'size' attribute on the select element.

When using the .select class with the 'size' attribute the options are displayed inside the select element.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions