Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(carousel): resolve rendering issues #4984

Closed

Conversation

wesleycho
Copy link
Contributor

  • Defer selection of active slide until after transition has been reset
    to avoid selection occuring before the transition finishes, preventing
    a new slide from being chosen
  • Buffer slides if transition is currently going on to navigate to last slide selected after

Here is the fix in action for removal of slides - note that the fix works better when the slide removed is not the active slide.
Here is the fix in action for buffering slide changes.

This fixes #4361, #4823 & #4969

@wesleycho wesleycho added this to the 1.0.0 milestone Dec 1, 2015
@wesleycho wesleycho force-pushed the fix/carousel-delay-selection branch 2 times, most recently from ace3787 to 434151f Compare December 1, 2015 06:55
- Defer selection of active slide until after transition has been reset
  to avoid selection occuring before the transition finishes, preventing
a new slide from being chosen
- Buffer slides if transition is currently going on to navigate to last
  slide selected after
@wesleycho wesleycho changed the title fix(carousel): delay select until $digest stabilizes fix(carousel): resolve rendering issues Dec 1, 2015
@Foxandxss
Copy link
Contributor

Sounds good to me.

@wesleycho wesleycho closed this in 763cfd9 Dec 1, 2015
@wesleycho wesleycho deleted the fix/carousel-delay-selection branch December 1, 2015 14:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

carousel breaks on dynamic slide add and scroll
2 participants