ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

ion-slides runCallbacksOnInit issue with version 1.3.1

Open rjgpereira opened this issue 10 years ago • 4 comments

I have a slider with two possible modes, which the user can toggle. These two modes have different number of slides. When i switch views I need to init() the slider and i can't have the callbacks running when this happens, and for that i set the "runCallbacksOnInit" to false. Everything worked nice in version 1.2.4 but now, after updating to 1.3.1, the "onSlidePrevStart" is called, which didn't happen before. Is this a bug? No callback should be called if "runCallbacksOnInit" is set to false, right?

Ionic version: 1.3.1

rjgpereira avatar May 31 '16 16:05 rjgpereira

Hello! Thanks for opening an issue with us! Would you mind creating a codepen that demonstrates this issue? Thanks for using Ionic!

jgw96 avatar May 31 '16 17:05 jgw96

here it is:

http://codepen.io/rjgpereira/pen/RRNRba?editors=1010

rjgpereira avatar May 31 '16 18:05 rjgpereira

This issue was moved to driftyco/ionic-v1#125

jgw96 avatar Jan 13 '17 22:01 jgw96

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 04 '18 21:09 ionitron-bot[bot]