ng-click doesn't work with ion-slides
Issue:
Clicks doesn't work for elements inside ion-slides. Or you may experience slow clicks in the initial load, but eventually click event doesn't work. I tried to place ion-checkbox inside ion-slides. It used to work fine when the chrome is lightly loaded. Once the browser gets heavier, ion-checkbox doesn't respond.
Resolution:
This relates to a bug in Swiper component which is used to build ion-slides. It relates to the bug file in their git repo. https://github.com/nolimits4web/Swiper/issues/1152
The resolutions is as follows:
I've found the issue... This two options:
Clicks doesn't work for elements inside ion-slides. Or you may experience slow clicks in the initial load, but eventually click event doesn't work. I tried to place ion-checkbox inside ion-slides. It used to work fine when the chrome is lightly loaded. Once the browser gets heavier, ion-checkbox doesn't respond.
Resolution:
This relates to a bug in Swiper component which is used to build ion-slides. It relates to the bug file in their git repo. https://github.com/nolimits4web/Swiper/issues/1152
The resolutions is as follows:
I've found the issue... This two options:
preventClicks
and preventClicksPropagation
, are by default set to true
. Setting them to false
will solve the issue.
Comments
Post a Comment
Feedback - positive or negative is welcome.