[Mobile] Disable copy/zoom events on touch element

[Mobile] Disable copy/zoom events on touch element

  

Hi,

I created an icon with ontouchstart and ontouchend events, but if keep the icon touched for 2-3 seconds on android it copys the element and on ios triggers a zoom. 

Is there anyway to disable this events on mobile apps?


Thanks,

Rafael


Solution

Hi Rafael,

You can prevent that with CSS, take a look on this post.

Cheers

Solution

Henrique Batista wrote:

Hi Rafael,

You can prevent that with CSS, take a look on this post.

Cheers

Exactly what i was looking for, thanks.