nikini / ionic-gallery-modal

Ionic Gallery Modal (to show all your photos)
166 stars 84 forks source link

ionicAngular.IonicModule.forRoot(...) causing click event to fire multiple times #45

Closed jjcheng closed 6 years ago

jjcheng commented 6 years ago

My Ionic 2 app is using this module, and (click) event is being fired multiple times at some pages. I found out the issue is with these 4 lines:

ionicAngular.IonicModule.forRoot(TouchEventsDirective), ionicAngular.IonicModule.forRoot(FittedImage), ionicAngular.IonicModule.forRoot(ZoomableImage), ionicAngular.IonicModule.forRoot(GalleryModal),

Only happens on IOS.

Anyone else has the same issue? Possible fix? Thank you!

jjcheng commented 6 years ago

Just realised that the issue is fixed in the new version, Glad to see it's being actively maintained, thank you!