Disable text-selection

Hello guys, is there any simple solution on how to disable text selection when double tap on screen? Its pretty annoying for mobile devices

There should be a preventDefault function you can use. I am going to look it up now and update when I find the answer, or you can race me :grin:

1 Like

What fixes it for me is the following CSS rule, it happens on iOS only as far as I know:

// CSS fix for iOS
document.body.style['-webkit-user-select'] = 'none';

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO :sob:

2 Likes