You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i'm using lazyLoading option with 'ondemand' value, afterChange function doesn't fire. It's easy to reproduce by fast clicking on the "next arrow". But if all images already loaded bug will not reproduce (for example if u will press prev arrow).
Steps to reproduce:
After render page, just press on next arrow fast
You will see, that beforeChange fires every time, but afterChange sometimes doesn't fire
Watch on the console
Even if u already scrolled to last slide, afterChange could still doesn't fire, looks like a bug..
p.s. sry for my eng.
The text was updated successfully, but these errors were encountered:
Seems like it's caused by the "load" event handlers for lazy-loaded images set in checkImagesLoad. The handlers call onWindowResized which in turn clears timeout handle this.animationEndCallback which is responsible for triggering afterChange.
CodeSandBox: https://codesandbox.io/s/react-typescript-sq6ih
When i'm using lazyLoading option with 'ondemand' value, afterChange function doesn't fire. It's easy to reproduce by fast clicking on the "next arrow". But if all images already loaded bug will not reproduce (for example if u will press prev arrow).
Steps to reproduce:
Even if u already scrolled to last slide, afterChange could still doesn't fire, looks like a bug..
p.s. sry for my eng.
The text was updated successfully, but these errors were encountered: