Disable text selection in iOS (touch devices)
See original GitHub issueDescription
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: 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
- You’ve read the docs
- You’ve checked for duplicate issues
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m having the same issue - let me know if you need any input to help fix it
Fixed with https://github.com/ajnart/homarr/commit/2594a7caa5f1b79ba66a1ecbdca7f1467c8f2177