question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable text selection in iOS (touch devices)

See original GitHub issue

Description

As you have implemented reordering tiles by long clicking on a tile this fails under iOS as long pressing a tile engages iOS’s text/image selection: 048E9979-10C6-4EBD-A1A3-15FEC9B4CF44 By disabling this for iOS (and other touch screen devices) you might be able to rearrange tiles as expected.

The following css may be all that is needed:

-webkit-user-select: none; /* Chrome all / Safari all */

Priority

Low (Nice-to-have)

Please tick the boxes

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
miknichecommented, Jun 18, 2022

I’m having the same issue - let me know if you need any input to help fix it

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable text selection on touch press? - Stack Overflow
1. The answer stackoverflow.com/a/11237968/4510870 might help you. · Find your selector that has the text and put pointer-events:none; $('# ...
Read more >
How to Disable Live Text on iPhone and iPad - MacRumors
1. Launch the Settings app. 2. Tap General. 3. Tap Language & Region.
Read more >
Disable text selection on iOS and Android devices
Disable text selection on iOS and Android devices ... When you double-tap a string of text on an iPhone or iPad a complicated...
Read more >
Disable Text Selection and Touch Callouts in a PWA on iOS
We'll first disable the ability to select text in our app by setting the css user-select options to none. Then, we'll disable the...
Read more >
Select, cut, copy, and paste text on iPhone - Apple Support
Select a block of text: Double-tap and hold the first word in the block, then drag to the last word. After selecting the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found