Skip to content

bug: <select> overflows on chrome 149, does not respond to css rules #4549

@timotejroiko

Description

@timotejroiko

Reproduction URL (Required)

https://play.tailwindcss.com/up35t4NFCN

What version of daisyUI are you using?

5.5.23

Which browsers are you seeing the problem on?

Chrome

Describe your issue

Chrome 149 changed a lot of things regarding how select menus behave, especially with regards to appearence:base-select

Apparently the correct way of using it is like this now:

<select class="select">
  <button>
    <selectedcontent style="white-space: nowrap; overflow: hidden"></selectedcontent>
  </button>
  <option>long text here<option>
  <option>long text h234234ere<option>
  <option>long text her23r2342342 234 234ere fwer werwer 23234 erwerwe rwer  234 234 234 23 42e<option>
</select>

what currently happens on the default select menu as shown on the daisyUI website:
Image

This issue does not affect firefox

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