[Bug Report] Disabled button dark not visible
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
Sugestion: Use same or equivalent color in both case.
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".
<v-btn color="green lighten-1" :dark="valid" :disabled="!valid">Save</v-btn>
This is my workaround
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
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?
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.