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

Disabled buttons are not displayed correctly #120

Open
h-banii opened this issue Jan 28, 2024 · 0 comments · May be fixed by #121
Open

Disabled buttons are not displayed correctly #120

h-banii opened this issue Jan 28, 2024 · 0 comments · May be fixed by #121

Comments

@h-banii
Copy link

h-banii commented Jan 28, 2024

It used to look like this ( before 3b8050f )

Firefox Chromium
image image

After that the disabled buttons don't appear correctly

Firefox Chromium
image image

The problem seems to be on the file input

/* currently it's like this */
input[type=file]::file-selector-button[disabled]

/* it should probably be */
input[type=file][disabled]

/* or */
input[type=file][disabled]::file-selector-button

A similar thing seems to be happening with the :focus-visible pseudo-class, but :hover is working

@h-banii h-banii changed the title Disabled button does not appear correctly Disabled buttons are not displayed correctly Jan 28, 2024
@h-banii h-banii linked a pull request Jan 28, 2024 that will close this issue
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 a pull request may close this issue.

1 participant