You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SuppressesLongPressGesture / Suppresses3DTouchGesture preferences not working since iOS 15.1
What is expected to happen?
The CSS rule user-select: none; is expected to work as designed. On iOS 14.x it does work, disabling the native text selection magnifier on the specified elements, as intended.
What does actually happen?
On iOS 15.1 the CSS rule above is ignored again, so the magnifier pops up.
Information
We tried attaching both touchend and click events to the relevant elements (and more, just to make sure), to no avail.
Our app had this issue initially (a few years back), then we applied Eddy Verbruggen's fix successfully. Then the plugin got integrated into Cordova as the 2 mentioned preferences. We applied those and it worked beautifully, and still works on all iOS versions up to and including 14.x. iOS 15 seems to have broken it again.
Command or Code
Set either one or both preferences (same result regardless) to config.xml in the iOS section:
Long press empty space or any other element than input/textarea. Magnifier pops up although it shouldn't. iOS 15 only, earlier versions behave normally.
Environment, Platform, Device
iOS 15.1 (and higher, i imagine)
Version information
cordova v.11.0.0
cordova-ios v6.2.0
cordova-cli v1.0.0
...the rest i imagine is irrelevant since the exact same app works perfectly on an iOS 14 device and fails on iOS 15.
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
Thanks again! ❤️
The text was updated successfully, but these errors were encountered:
Great find @dpogue, thank you! I guess we'll just wait until either there's enough activity here to attempt an external fix (again), or until that fix gets into iOS, whichever comes first.
Bug Report
First of all thank you for your time! ❤️
Problem
SuppressesLongPressGesture
/Suppresses3DTouchGesture
preferences not working since iOS 15.1What is expected to happen?
The CSS rule
user-select: none;
is expected to work as designed. On iOS 14.x it does work, disabling the native text selection magnifier on the specified elements, as intended.What does actually happen?
On iOS 15.1 the CSS rule above is ignored again, so the magnifier pops up.
Information
We tried attaching both
touchend
andclick
events to the relevant elements (and more, just to make sure), to no avail.Our app had this issue initially (a few years back), then we applied Eddy Verbruggen's fix successfully. Then the plugin got integrated into Cordova as the 2 mentioned preferences. We applied those and it worked beautifully, and still works on all iOS versions up to and including 14.x. iOS 15 seems to have broken it again.
Command or Code
config.xml
in the iOS section:Environment, Platform, Device
iOS 15.1 (and higher, i imagine)
Version information
cordova v.11.0.0
cordova-ios v6.2.0
cordova-cli v1.0.0
...the rest i imagine is irrelevant since the exact same app works perfectly on an iOS 14 device and fails on iOS 15.
Checklist
Thanks again! ❤️
The text was updated successfully, but these errors were encountered: