-
Notifications
You must be signed in to change notification settings - Fork 13.5k
bug: Slide-box wrong number of bullets at the pager #3646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
.disable-animations{ |
@yuda022, can you put this in a codepen for us to inspect? |
@kaikcreator created a codepen showing this in #3076. Adding the CSS does fix this issue (http://codepen.io/anon/pen/pJEJbb). Pull request at: #3790 Thanks, |
thank you very match. yehuda amar. On Wed, May 20, 2015 at 4:51 PM, Ross Holdway [email protected]
|
I encounter the similar issue. The following is what I figure out. hope it can help you for the fix. It seems the issue is caused by the closure variable "length". I believe once change the slide count function to use the element children length directly, the pager will be able to get the actual length. (at least the actual length at the calling time, instead of the pre-captured children length)
I am using the ng-repeat to adjust the slide count. The issue is the when the slides is changed, the pager will count those "ng-leave" elements too as stated above The following are fundings for this issue
|
Hi @dreamershl Yes, I also came to the same conclusion, the elements inserted by nganimate are counted. The code in pull request #3790 fixes this issue. I've been using the fix #3790 in production for awhile now it's been working great. Thanks, |
:) sorry, didn't realize the fix is done. 👍 |
It just needs to be merged in to master now. I believe the target milestone has been updated to version 1.2 :) |
Type: bug
Platform: mobile webview
hi,
I noticed unexpected behavior while using slide boxes.
I manage two slide boxes I navigate between. One has 2 slide elements and the other one has 5.
While loading the second slide box, on the setup function, the two slides of the previous slide box are still counted though they have the ng-leave -active tag that means they will be deleted, but after they were already counted, so the second slide box appear to have 7 elements instead of 5.
The text was updated successfully, but these errors were encountered: