Closed kkimdev closed 2 years ago
No ripple animation on Button touch down on mobile. (or simulated mobile device using Chrome dev tool)
On desktop, mouse down triggers the ripple animation correctly.
This should be an easy quick fix, adding a touch-down handler at https://github.com/primefaces/primereact/blob/5040da2d5b0be5d12a982b1852fb1d79a732747c/components/lib/ripple/Ripple.js#L27
https://codesandbox.io/s/primereact-test-forked-04yc5k
8.6.1
18.x
TypeScript
Vite
Chrome
No ripple animation shown
Ripple animation should be shown.
cc @Lanace
Thanks for the report. Check out my PR.
Describe the bug
No ripple animation on Button touch down on mobile. (or simulated mobile device using Chrome dev tool)
On desktop, mouse down triggers the ripple animation correctly.
This should be an easy quick fix, adding a touch-down handler at https://github.com/primefaces/primereact/blob/5040da2d5b0be5d12a982b1852fb1d79a732747c/components/lib/ripple/Ripple.js#L27
Reproducer
https://codesandbox.io/s/primereact-test-forked-04yc5k
PrimeReact version
8.6.1
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome
Steps to reproduce the behavior
No ripple animation shown
Expected behavior
Ripple animation should be shown.