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

Update currentImageIndex on images array changes #203

Open
dFelinger opened this issue Oct 30, 2023 · 0 comments
Open

Update currentImageIndex on images array changes #203

dFelinger opened this issue Oct 30, 2023 · 0 comments

Comments

@dFelinger
Copy link

If visible is on and I remove item from images prop (i.g. delete button in footer component to remove item), currentImageIndex not changes. It causes wrong imageIndex in footer component after images length changes.

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

1 participant