Hi. I've been working with ScrollSmoother, using data-speed="auto" on images. I noticed some images were going with the natural scroll of the site whereas others were going against it (i.e. as I scroll down, the images appear to move up and vice versa). I couldn't work out what was going on and assumed I must have done something wrong somewhere. In an attempt to remove as much code as possible, I grabbed the example codepen (as linked here) and noticed it does exactly the same thing. The first image and the final two images go the "wrong" direction (i.e. against the scroll) whilst the others go with the scroll. The three that go the "wrong" direction are larger and this seems to be the cause.
It is the height in relation to the viewport that seems to cause the issue rather than the actual height of the image. For example if an image has a height of 500px and is on a viewport with a height of 550px, the parallax will be in the wrong direction but if I extend the window so the viewport is, say, 1000px then the parallax with be the right direction.
Having a page with parallax going in opposite directions seems odd. As does the direction of the parallax of a specific image being decided based on the height of the viewport. I can get around this by using a number rather than auto as the data-speed value but this seems to rather defeat the purpose of auto. I have to say I don't quite understand the technicalities of why this is what happens when using auto. Is this by design or is it a bug? It seems that if I want to ensure parallax images always go with the direction of scroll I cannot use the auto feature. Is that correct?