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

change invalid activeIndex when filtering items #1268

Merged

Conversation

Galpittel
Copy link
Collaborator

Set the active index to 0 when the number of items in the gallery is smaller than the current active index in order to prevent the display of an item that does not exist (relevant for filtering out gallery items).

@Galpittel Galpittel merged commit 959dd12 into V4_Final Aug 4, 2024
7 checks passed
@Galpittel Galpittel deleted the test-change-invalid-activeIndex-when-filtering-items branch August 4, 2024 08:48
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