-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Button] Increase elevation on hover when contained #17537
[Button] Increase elevation on hover when contained #17537
Conversation
Details of bundle changes.Comparing: cef3287...50cb921
|
My only concern with the related issue (#17493) is the customization story. I think that it's important to allow people to remove the elevation completely. I personny don't like this aspect of the Material Design guidelines. I find the Vuetify approach interesting, they allow to set elevation={0} to remove it: https://vuetifyjs.com/en/components/buttons#playground. I think that we could support it too, right now, it causes an issue with the Bootstrap theme on hover: |
Seems like it's unrelated to this issue but related to elevation in general. The Disabling elevation is possible by overriding all the shadows in the theme. |
@eps1lon That's fair 👍 . |
aa144b2
to
9a88905
Compare
Partial fix of #17493
The color will be fixed once we figured out https://material.io/design/interaction/states.html. Previous work in #13134
I did some experiments a few weeks ago. I'll take a look how viable they are at the moment or if it makes more sense to fix the button states separately.