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
Reverts the `ripple(): handle touch events` commit from PR#7299. With the current touch solution, ripples are showing up twice on click.
This is because after a `touchstart` event, the touch browser fires a `mousedown` event. This causes the ripple renderer to fade in another ripple from the `mousedown` event.
There are solutions like:
* Timeout to ignore `mousedown` events
* Calling `preventDefault` / `stopPropagation` on `touchstart`
* Listening to `pointerdown`, `pointerup`, `pointerleave` events
* Using feature detecton (as in Modernizr)
All of those solutions have negative aspects on the UX of the ripples and need to be evaluated with more testing.
For now the ripples are broken and should be fixed as soon as possible. This is going to be revisited.
0 commit comments