Disable 'save link as' on long tap iOS


#1

Hey there,

Great framework, thanks for making this!

I’ve successfully compiled my app for iOS, it works great. I’m running into this issue though:
In my views I use a elements to create links to navigate to other screens. When I long press these links, the app offers to ‘Open’ or ‘Copy’ the link, similar to how Safari would do it when you long press a link. What is the correct way to disable this?


#2

You could achieve that using the iOS Safari css attribute:

body {
  -webkit-touch-callout: none;
}

It will completely remove the context menu.


#3

Awesome, works like a charm. Thanks!


#4

That should have been in there to start, I just pushed that to master. Thanks!