nuka-carousel
nuka-carousel copied to clipboard
When dynamically adding new slides, slideIndex cannot be simultaneously set beyond original slideCount.
Repro Steps
- Create 3 slide carousel.
- Add button outside carousel to do the following
onClick:- Add 3 additional slides to carousel
- Set
slideIndexprop to4(which is an index beyond the original 3 slides)
Current Results
- Carousel slides increase by 3.
- Carousel does not navigate to slide with index of
4.
Expected Results
- Carousel slides increase by 3.
- Carousel does navigate to slide with index of
4.
This issue was created based off PR #166 which was too old to merge.
fix in PR #392