# Perspective Touchscreen Long Press

**URL:** <https://forum.inductiveautomation.com/t/perspective-touchscreen-long-press/67766>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [December 19, 2022, 2:10am UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-long-press/67766 "2022-12-19T02:10:03Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Stephen\_Kreyling](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Stephen\_Kreyling](https://forum.inductiveautomation.com/u/Stephen_Kreyling)\
**Post date:** [April 19, 2023, 8:11pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-long-press/67766/6 "2023-04-19T20:11:10Z")

</div>

Using Perspective 8.1.26 and Chrome browser on a touch screen, to resolve the problem that the text on a button was selected with a long press on the button, under Styles, I added the stylesheet.css with the entry:

```auto
* {
-webkit-touch-callout: none;	/* for Safari on iOS only */
-webkit-user-select: none;	/* for Safari */
user-select: none;
}

```

(The entry was suggested in [Perspective Mouse event, disable cut/copy/paste on iPad - #11 by Chris\_Kociolek](https://forum.inductiveautomation.com/t/perspective-mouse-event-disable-cut-copy-paste-on-ipad/25650/11); the \* means the styling will apply to every component)

For individual components, adding the key value pair of "user-select: none" in the textStyle properties of the component also works.

Adding the event handler suggested in [Perspective disable right click menu on touchscreen](https://forum.inductiveautomation.com/t/perspective-disable-right-click-menu-on-touchscreen/65595) did not work.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-touchscreen-long-press/67766)._
