vô hiệu hóa toàn cầu kính lúp trên iOS 9 trong ứng dụng cordova sao băng
Tôi đã thử nghiệm một số biện pháp khắc phục để vô hiệu hóa kính lúp khó chịu với css, nhưng trên thiên thạch cordova iOS9 tôi xây dựng nó xuất hiện trong chốc lát và mất dần ra sau khi một số Cô.
nó đã làm việc trên iOS 8 nhưng không phải trên iOS 9 tại với mã css này:
body, body * {
-webkit-user-select: none !important;
user-select: none !important;
-webkit-user-callout: none !important;
-webkit-touch-callout: none !important;
}
input, textarea {
-webkit-user-select: text !important;
user-select: text !important;
-webkit-user-callout: default !important;
-webkit-touch-callout: default !important;
}
*{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none; /* Firefox all */
-ms-user-select: none; /* IE 10+ */
user-select: none;
-webkit-user-drag: none;
-webkit-user-modify: none;
}
tôi đã bỏ lỡ một cái gì đó dành cho iOS 9?
trùng lặp có thể xảy ra của [IOs Cordova dài báo chí cho thấy kính lúp text-chọn ngay cả với văn bản lựa chọn bị vô hiệu hóa, cách xóa?] (http://stackoverflow.com/questions/32812308/ios-cordova-long-press-shows-text-select-magnifying-glass-even-with-text-selecti) – mpoisot
giống như tôi là lần đầu tiên – Dude