2015-09-22 14 views
14

iOS9_glassglobaler disable auf iOS 9 in Meteor cordova App

ich getestet habe mehrere Abhilfen Lupe die lästige Lupe mit CSS zu deaktivieren, aber auf meinem iOS9 Meteor cordova baut es für einen Moment erscheint und nach einigen ausblendet Frau.

es funktioniert auf iOS 8 aber nicht auf iOS 9 jetzt mit diesem CSS-Code:

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; 
} 

ich etwas für iOS verpaßt 9?

+0

Mögliche Duplikat [IOs Cordova lang drücken, zeigt Text-Auswahl Lupe auch mit Text-Auswahl zu aktivieren deaktiviert, wie zu entfernen?] (http://stackoverflow.com/questions/32812308/ios-cordova-long-press-shows-text-select-magnifying-glass-even-with-text-selecti) – mpoisot

+0

sieht aus wie ich war zuerst – Dude

Antwort

11

Ja, es ist mit iOS9 verwandt. Da Sie ein Cordova Benutzer sind, wird dieses Plugin das Problem für Sie beheben: https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix

Es hat mit der UILongPressGestureRecognizer Ausführung vor dem Umgang mit den -webkit-user-select zu tun: keine in Ihrem CSS.

Ich hoffe, das hilft Ihnen aus.

+0

darauf achten, dass Antworten mit nur Links entfernt werden, jemand könnte Bericht und es wird gelöscht werden (es passiert mir immer die Zeit), besser ändern Sie es zu einem Kommentar oder setzen Sie den Plugin-Code auf die Antwort – jcesarmobile

+3

Wenn wir Cordova nicht verwenden, gibt es eine Lösung? –

+0

DANKE SO VIEL !!!!!!!!!!!!! Ich habe 5 Stunden lang nach einer Lösung gesucht! – Automatico