Perspective text selection on long press

Hi,

I am developing perspective SCADA for touch panel (Windows IOT). Everytime I press the screen for a longer time, the nearest text is selected (e.g. text in a button). How to disable it?

Thank you

You can use CSS to disable selection for certain components:

.no-select {
  -webkit-user-select: none; /* Safari, Chrome, Android */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Standard syntax */
}