-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[ToggleButton] Don't set default for disableRipple prop #20493
[ToggleButton] Don't set default for disableRipple prop #20493
Conversation
Details of bundle changes.Comparing: df9fc5d...ef7c232 Details of page changes
|
Doing so removes the ability to disable ripples globally, as documented in the FAQ at https://material-ui.com/getting-started/faq/#how-can-i-disable-the-ripple-effect-globally
abd26fe
to
ef7c232
Compare
Interesting, the default prop was added so we could have it documented in the API page: https://material-ui.com/api/toggle-button/#props However, it's basically a duplicate of the prop that already exists on the @eps1lon I can't wait for being able to remove all the duplicates props 😍🔥. |
@oliviertassinari Okay, I see. Thanks for the context. Is there anything I can do to help get this across the finish line? |
@cp We have a I think that we are good, we have the exact same case with Tab.disableRipple. I think that long turn, we want:
|
@cp Thanks! |
Doing so removes the ability to disable ripples globally, as documented in the
FAQ at https://material-ui.com/getting-started/faq/#how-can-i-disable-the-ripple-effect-globally