lundi 27 juin 2016

iOS Safari prevent copy popover

In an angular web application I need Safari on iPad to not show the popover menu (copy, etc.) it usually shows whenever the user selects text.

I still need the user to be able to select parts of the text, so user-select is not an option. AFAIK -webkit-touch-callout only concerns links so this does not seem to work either.

The text is wrapped inside a div while some parts of the text are wrapped into spans.

Does anyone know how to achieve this?

Cheers




Aucun commentaire:

Enregistrer un commentaire