Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native <select> caret is blocking interactions #148

Open
DEfusion opened this issue Jan 19, 2025 · 2 comments
Open

Native <select> caret is blocking interactions #148

DEfusion opened this issue Jan 19, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@DEfusion
Copy link

Clicking on the caret within a native <select> does not open the select.

To Reproduce

  1. Visit the native select docs
  2. Click the caret
  3. Select does not open

Browser / OS

  • OS: Mac
  • Browser: Chrome, Firefox, Safari
@DEfusion DEfusion added the bug Something isn't working label Jan 19, 2025
@LeaVerou
Copy link

LeaVerou commented Jan 19, 2025

Oops, that's pretty bad! Can confirm. Sorry about that @DEfusion, we'll fix it in the next release!

Meanwhile, here's a workaround:

label:has(select)::after {
	pointer-events: none;
}

@DEfusion
Copy link
Author

Thanks, I already did that in my code 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants