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

bug: text opacity on disabled select has no effect #2775

Closed
jonasgeiler opened this issue Jan 19, 2024 · 2 comments
Closed

bug: text opacity on disabled select has no effect #2775

jonasgeiler opened this issue Jan 19, 2024 · 2 comments

Comments

@jonasgeiler
Copy link

What version of daisyUI are you using?

v4.6.0

Which browsers are you seeing the problem on?

Firefox

Reproduction URL

https://play.tailwindcss.com/EFs2R8UIwp

Describe your issue

The select component has a text-opacity-20 modifier when it is disabled, but due to there being no text-base-content (or similar) on the select element, the opacity modifier has no effect.

Here is the line where text-base-content (or similar) is missing:

@apply border-base-200 bg-base-200 placeholder-base-content cursor-not-allowed text-opacity-20 placeholder-opacity-20;

Copy link

Thank you @skayo for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

Nekxio added a commit to Nekxio/daisyui that referenced this issue Jan 20, 2024
@Nekxio
Copy link
Contributor

Nekxio commented Jan 20, 2024

Hello @skayo,
Indeed, there was a problem with the disabled select. I took the liberty of making a PR to resolve the issue. Thanks for your help 🙂

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

No branches or pull requests

2 participants