+ 6
How can I deactivate the 'Copy Paste' pop-up when I long press a button or image?
When hold this button in for a few seconds a 'Copy Paste' pop-up appears. How can I prevent this from happening? Is there a setting on my device that must be changed or is there something I must add to my code? (I am using a tablet with Android 6). https://code.sololearn.com/WsQW9M7hVpTk/?ref=app
2 ответов
+ 2
button {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
+ 2
Thanks Calvin 👌 It works like a charm.