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

Callout when long tap on Android and IE #41

Open
guillerodriguez opened this issue Feb 19, 2015 · 3 comments
Open

Callout when long tap on Android and IE #41

guillerodriguez opened this issue Feb 19, 2015 · 3 comments

Comments

@guillerodriguez
Copy link

I am using -webkit-touch-callout:none to avoid the default callout menu when doing a long tap on an item for reordering. This works as expected on iPhone and iPad. However it does not seem to work for Android, and I don't know of any equivalent for mobile IE (touch-action:none does not work either). Any hints?

I am testing with Android 4.4 and mobile IE 11.

@sun449036002
Copy link

Hi,i get the same question now,
are you fix it?

@kornelski
Copy link
Owner

Try user-select:none

@myfrom
Copy link
Contributor

myfrom commented Apr 7, 2018

If user-select: none doesn't help I'd recommend trying to catch and prevent context menu event:

  elementOrWindow.addEventListener('contextmenu', e => e.preventDefault());

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

4 participants