reseter.css icon indicating copy to clipboard operation
reseter.css copied to clipboard

Bug: incorrect selector for disabled buttons

Open rmatsuda21 opened this issue 3 years ago • 1 comments

Noticed an issue where the pointer style is being applied to buttons even though they are disabled. Here is the current code that provides this styling.

[type='button']:not(disabled),
[type='reset']:not(disabled),
[type='submit']:not(disabled),
button:not(disabled) {
  cursor: pointer;
}

I believe that to proper select disabled buttons we have to do it this way:

[type='button']:not([disabled]),
[type='reset']:not([disabled]),
[type='submit']:not([disabled]),
button:not([disabled]) {
  cursor: pointer;
}

However, can we not just utilize the :enabled selector?

rmatsuda21 avatar Sep 14 '22 15:09 rmatsuda21

Hi can you assign this issue to me

thepushp avatar Oct 08 '22 12:10 thepushp

Hi @thepushp! Are you still interested in working on this issue?

GaryHilares avatar Jan 03 '23 15:01 GaryHilares

Hello, Interested in solving this issue.

fayazpn avatar Jan 06 '23 13:01 fayazpn

Hey @Fayaz-B! You can work on it if you want.

GaryHilares avatar Jan 07 '23 22:01 GaryHilares