Reputation: 354
I had an integrated Chromium application where I needed to hide the menu that appeared on double-tap or long press on a POS device or touch laptop, as shown in the image below.
I tried the code below, which works only on div elements. However, we need it to be disabled for text boxes as well.
{
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
Upvotes: 0
Views: 62