Skip to content
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

Wrong index in Carousel #34

Closed
fernando-j-afonso-alb opened this issue Dec 16, 2022 · 1 comment
Closed

Wrong index in Carousel #34

fernando-j-afonso-alb opened this issue Dec 16, 2022 · 1 comment

Comments

@fernando-j-afonso-alb
Copy link
Contributor

this._index = negativeHalf.length;

I think this may be wrong. The index is always 3.

@jfboeve
Copy link
Contributor

jfboeve commented Dec 20, 2022

Yeah so the index was more a focus index for the carousel to focus the correct item. I've made some changes so the index is always the data index.

@jfboeve jfboeve closed this as completed Dec 20, 2022
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

No branches or pull requests

2 participants