natural-gallery-js icon indicating copy to clipboard operation
natural-gallery-js copied to clipboard

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

Open johtso opened this issue 2 years ago • 0 comments

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.

johtso avatar Apr 10 '22 00:04 johtso