IOs Cordova long-press shows text-select magnifying glass even with text-selection disabled, how to remove?

后端 未结 2 1297
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 20:00

I have a very weird problem. In my cordova app on iOS I am getting a pop-up text-select magnifying glass when I long-press anywhere in the app.

Example:

2条回答
  •  时光取名叫无心
    2020-12-15 20:47

    Thank you for that Automatico! Saved me from a lot more frustration.

    Since then however it looks like that code has been merged into mainline cordova and can just be enabled by adding

    to config.xml

    That worked perfectly for me!

    Here is the commit and notes that brought it in

    https://github.com/apache/cordova-ios/commit/1ad9951c80dbf97281e763f5f27a9bc8852c0537

提交回复
热议问题