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.

Unexpected Behavior of Carousel Arrow Navigation #5883

Open
@bhildeb

Description

@bhildeb

Bug description:

When user navigates multiple times to the right and then clicks the left arrow one time, carousel slides right instead of left. Same thing in the opposite direction: When user navigates multiple times to the left and then clicks the right arrow one time, carousel slides left instead of right.

Link to minimally-working plunker that reproduces the issue:

to reproduce defect:

(1) go to: https://angular-ui.github.io/bootstrap/#/carousel
(2) click "add slide" 5 times (this is just to give you a sufficient amount of images to work with so you could add more than just 5).
(3) click right arrow three times to navigate through 3 images.
(4) click left arrow (expected behavior is for the image to slide to the left but it actually slides to the right one time).

Same thing happens when you click left arrow 3 times and then click the right.

Version of Angular, UIBS, and Bootstrap

Angular:
1.5.3
UIBS:
1.3.2
Bootstrap:
3.3.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions