You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
Proposal:
TouchRipple to expose property maxSize on TouchRippleProps. (Accessed by the developer via TouchRippleProps on ButtonBase, and potentially a dedicated parameter on ButtonBase like centerRipple has.)
Consider defaulting a maxSize.
Examples 🌈
Here's an example of how fast and jarring the animation can appear on a very large button area, since the ripple propagates across the entire surface:
maxSize would allow the ripple animation to not be forced to ripple over the entire button surface within X ms (which appears too quick/jarring on the example above).
My main use case is an empty state where the user can click anywhere on the empty state to proceed.
The text was updated successfully, but these errors were encountered:
Summary 💡
Proposal:
TouchRipple
to expose propertymaxSize
onTouchRippleProps
. (Accessed by the developer viaTouchRippleProps
onButtonBase
, and potentially a dedicated parameter onButtonBase
likecenterRipple
has.)maxSize
.Examples 🌈
Here's an example of how fast and jarring the animation can appear on a very large button area, since the ripple propagates across the entire surface:
https://codesandbox.io/s/material-demo-forked-kjfwl
Motivation 🔦
maxSize
would allow the ripple animation to not be forced to ripple over the entire button surface within X ms (which appears too quick/jarring on the example above).My main use case is an empty state where the user can click anywhere on the empty state to proceed.
The text was updated successfully, but these errors were encountered: