vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report] Disabled button dark not visible

Open AGPDev opened this issue 8 years ago • 6 comments

Versions and Environment

Vuetify: 1.1.1 Vue: 2.5.16 Browsers: Chrome 67.0.3396.99 OS: Linux x86_64

Steps to reproduce

Change disabled button to dark

Expected Behavior

Show like in light or option to change color disabled in dark mode

Actual Behavior

no

Reproduction Link

https://codepen.io/anon/pen/RJOwNZ?&editors=100

AGPDev avatar Jul 04 '18 12:07 AGPDev

Sugestion: Use same or equivalent color in both case.

AGPDev avatar Jul 12 '18 18:07 AGPDev

Dark shouldn't specifically be used to make text white. My rule of thumb is whatever color background the element is on. In this case you should opt to use class="white--text".

johnleider avatar Sep 15 '18 02:09 johnleider

<v-btn color="green lighten-1" :dark="valid" :disabled="!valid">Save</v-btn> This is my workaround

rromanv avatar Mar 26 '19 15:03 rromanv

for me, this issue reared it's head when vuetify bumped from 2.1.9 to 2.2.11. What is especially odd: both my Cancel and Save buttons disappeared (an enabled v-btn and a disabled one) but would not re-appear once the validity changed to valid -- did not happen in 2.1.9 but did happen in 2.2.11 Also - I had this issue on a dark background (not light) @rromanv thanks for your great workaround - this fixed it for me

PJLindsay avatar Feb 08 '20 00:02 PJLindsay

Dark shouldn't specifically be used to make text white. My rule of thumb is whatever color background the element is on. In this case you should opt to use class="white--text".

What exactly is the point of having the dark prop if we aren't supposed to use it? It seems obvious to me that this is a real issue from the sheer number of duplicates. Even if fixing it is not a priority for you, why not leave it open so someone can send a PR?

kaan-atakan avatar Apr 14 '21 12:04 kaan-atakan

We kindly ask users to not comment on closed/resolved issues. If you believe that this issue has not been correctly resolved, please create a new issue showing the regression.

If you have any additional questions, please reach out to us in our Discord community.

johnleider avatar Apr 14 '21 17:04 johnleider