-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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 Report][3.1.5] props for buttons that are inside v-btn-toggle are not getting applied #16686
Comments
This is the default behaviour from the framework |
@yuwu9145 Ok, but what if I initially don't want the button to be white/transparent, but rather has a primary color and on active state change the color to something else. I believe at this I should've flagged this issue as feature request and not a bug report :( |
@yuwu9145 The problem with this default behavior is that when a component using Now when I look at these text alignment examples from the documentation, here it works as I would expect it, the initial state is visible. The examples are using |
Why isn't this fixed yet? This is deffinitely a bug |
This comment was marked as off-topic.
This comment was marked as off-topic.
Fixed in #19088, use |
Environment
Vuetify Version: 3.1.5
Vue Version: 3.2.45
Browsers: Chrome 110.0.0.0
OS: Windows 10
Steps to reproduce
Copy/Paste any example of
v-btn-toggle
component in the official documentation of vuetify and try to add any initial props likecolor='primary'
to thev-btn
components, and they don't work and stay transparent until you click on them and make them activeExpected Behavior
To have an initial styles/props applied to the buttons regardless of weather the buttons are selected or not
Actual Behavior
The buttons stay as default and do not apply any props up until they are selected
Reproduction Link
https://play.vuetifyjs.com/#...
The text was updated successfully, but these errors were encountered: