DEV Community

Discussion on: Recreating the material design ripple effect in React

Collapse
 
sanishkr profile image
sanish

Thanks for quick reply. I tried your approach, it worked. I also tried to replace event.pageX and event.pageY with event.clientX and event.clientY. Both works!!