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

Calling gallery.addItems before gallery.init causes a pagination event with a negative limit #77

Open
johtso opened this issue Apr 10, 2022 · 0 comments

Comments

@johtso
Copy link
Contributor

johtso commented Apr 10, 2022

Came across a strange one today.

I tried adding my initial items before initialising the gallery, thinking it might avoid pagination events being triggered unnecessarily on page load, but ended up getting a pagination event with a negative limit.

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