Open Arkh1 opened 7 years ago
This is a pure CSS implementation of "ripple" effect, and there is no way to know difference between left and right click. Actually, :active
pseudo class is used to detect user's interaction, which could be left/right click or touch events.
I guess that majority of users will just use left click or touch, but if you really need that "ripple" removed for right click I suggest using one of the JS implementations of this animation.
If there is another solution please bring it on!
Probably want to restrict the ripple effect to only left click actions. Triggering the ripple on right click is misleading.
Tested in Windows 10 Chrome Version 55.0.2883.87 m (64-bit)