Skip to content

Fix weird behaviour of carousel after goTo functionality #1

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

Merged
merged 1 commit into from
Mar 5, 2022

Conversation

antondperera
Copy link
Owner

After navigating to a slide using goTo() functionality, carousel navigation was breaking at the last few slides. There were 2 scenarios happened based on number of slides.

  1. Carousel won't allow to navigate to few slides using next arrow even though the slides can be seen if we swipe to right.
  2. Carousel will ended up with last few slides and some empty spots for the last few slides instead of adjusting the landing slide when there are no enough slides for the last set.

@antondperera antondperera merged commit 23fcc48 into master Mar 5, 2022
@antondperera antondperera deleted the fix/issue-after-goto-functionality branch March 5, 2022 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant