Problem with Ionic and Cordova on iOS 10

iOS 10, it is still in beta, but it will be released on Tuesday the 13th.

I am installing a beta on my iPad and I notice that the crane is not working very well. (a single press does not work, you need to press several times to simulate one tap (or press a button, change the page, etc.)

I am currently running ios 10.0.1 (updated last night) and I am still facing this problem.

Does anyone face the same problem?

I see this behavior only in my application, other applications work fine.

Setup:

ionic 1.3.1

cordova 6.3.1

Has something changed in iOS 10 events that I need to keep in mind? Sorry for the vague question, but this is what I need to fix before they release it officially or I will have many angry customers.

Thank!!!


SMALL UPDATE

Replacing ng-clickwith on-tapshould solve part of this problem. You will still have problems with ui-srefand with any other place that does not use ng-clicktho.

I sent this problem to a bunch of different places, if you want to track it, they are here:

https://github.com/driftyco/ionic/issues/6928#issuecomment-253463917

https://forum.ionicframework.com/t/ionic-tap-issues-with-ios10/66764

+4
source share
3 answers

!

, , . , . , , , , :

https://market.ionic.io/plugins/ion-time-picker

, , , ios10 .

0

(tap) (click).

Angular 2:

Ionic hammerjs , (tap) angular 2, hammerjs 300 . .

:

<my-component (tap)="doSomething()"></my-component>

Angular 1.x:

http://ryanmullins.imtqy.com/angular-hammer/ hammerjs angular 1.x

:

<div hm-tap="doSomething"></div>
+2

-. ng- . ????

.config(function( $mdGestureProvider ) {
          $mdGestureProvider.skipClickHijack();
  })
0

Source: https://habr.com/ru/post/1654103/


All Articles