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 the number of items in the gallery is… #1259

Merged
merged 1 commit into from
Jul 11, 2024

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 requested a review from liatv July 4, 2024 12:12
@liatv liatv merged commit 900e047 into V4_Final Jul 11, 2024
8 checks passed
@liatv liatv deleted the change-invalid-activeIndex-when-filtering-items branch July 11, 2024 06: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.

2 participants