Perspective Mouse event, disable cut/copy/paste on iPad

The style properties you need to remove this annoying touch feature on an IOS device are:
-webkit-touch-callout: none;
and
-webkit-user-select:none;

Unfortunately, Ignition designer won’t allow you to add a style property that begins with a hyphen, so you have to manually add to an Ignition CSS file on your gateway.

For windows:
C:\Program Files\Inductive Automation\Ignition\data\modules\com.inductiveautomation.perspective\themes\

For RPI:
opt/Ignition/data/modules/com.inductiveautomation.perspective/themes/

For me, I’m using RPI and will only be using Ignition for my home automation app. Therefore, I just placed the following in the light theme entry point file light.css:

* {
-webkit-touch-callout: none;
-webkit-user-select:none;
}

The * means the styling will apply to every component in the DOM.

2 Likes