bug: slidebox pager discounts if replace cached content
Type: bug
Platform: all
The problem happens with cached slidebox.
After:
- using slidebox to move between slides
- change view (so slidebox get cached)
- returning to slidebox
- replace its content on enter (and number of slides)
Then: The sliderbox pager shows an incorrect number of slides.
Check this codepen: http://codepen.io/-kaik-/pen/KwZgOG
Seeing a very similar issue also.
- using slidebox to move between slides
- use a custom filter to change the set of data being viewed
- wrap all the below in a scope.$applyAsync
- empty data structure containing viewed data
- fill structure with new data
- call $ionicSlideBoxDelegate.update()
- call $ionicSlideBoxDelegate.slide(0)
- swipe to a new item
- select a filter to do step 2 again. (pager will be hosed)
There are also visual artifacts that happen when swiping between cards after the pager gets hosed.
will this issue be solved if this commit is brought in? https://github.com/driftyco/ionic/commit/2ab776023d571d57d9b8a1d7878904b24b1364f8
I'm still getting this issue (as shown in the codepen) in version 1.0.0.
Greetings @kaikcreator!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.