loads element without any scroll. ignores threshold

Author: buildpath-ianCreated Feb 23, 2023Updated Nov 9, 2023
LabelsTYPE: Question

Hi,

Please see the issue shown on video here: https://www.loom.com/share/d172a32f5f6a447a99ecd2942a9daeb9

My init is:

ll = new LazyLoad({ // Assign the callbacks defined above callback_enter: callback_enter, callback_exit: callback_exit, callback_cancel: callback_cancel, callback_loading: callback_loading, callback_loaded: callback_loaded, callback_error: callback_error, callback_finish: callback_finish, elements_selector: "iframe", threshold: 300, });

I also have the callbacks from your demos set up, so I can see that it's loading without me scrolling at all. It seems to do it twice somehow. I don't know what to think except that something on my page may be tricking the Intersection Observer somehow.