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

carousel breaks on dynamic slide add and scroll #4361

@totano

Description

@totano

as seen in this plunker, if you add a slide and force scrolling right or left, rendering up.
http://plnkr.co/edit/HnfgQMHXNE2QQdOMFeZl

You can see that also in the demo page (https://angular-ui.github.io/bootstrap/#/carousel),
move on last slide and then quickly click the Add Slide button and then the carousel next control arrow,
the UI will flicker and then the carousel will become unresponsive.

As a temporary fix I'm using $timeout after setting the active property

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions