Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right clicking triggers the ripple #5

Open
Arkh1 opened this issue Dec 21, 2016 · 1 comment
Open

Right clicking triggers the ripple #5

Arkh1 opened this issue Dec 21, 2016 · 1 comment

Comments

@Arkh1
Copy link

Arkh1 commented Dec 21, 2016

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)

@mladenplavsic
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants