Open Crumdidlyumshis opened 4 years ago
Hey,
Maybe there are an issue with the Intersection Observer. Can you post a codepen or something similar so i can have a look?
Thanks.
Sure thing! This is basically a exact mock-up of what I'm working with, just changed images and text/whatnot.
@geosigno just curious if you stumbled onto any issue related to this? Or is there something I need to try different? I have been messing around with different things and I have not found a fix yet. Thanks!
Sorry for the lateness, i'll try to find some time to look at this one.
At the moment simpleParallax is initializing, it will check that every image is loaded. The non-visible images of the carousel are loaded but hidden because of a parent opacity 0. So the plugin is unable to get image information via getBoundingClientRect(). This is a bit problematic... I'll try to find a workaround.
Not sure if I am missing something, but for whatever reason, the first image of a bootstrap carousel is working on scroll, but the rest of them don't.
JS:
HTML:
I am using latest Bootstrap v4.5.0
Any idea what I can do to fix this?
PS: Awesome work on this wonderful script! 👏