jlmakes / scrollreveal

Animate elements as they scroll into view.
https://scrollrevealjs.org/
22.3k stars 2.26k forks source link

Handling mid-page loads #552

Open BenRacicot opened 1 year ago

BenRacicot commented 1 year ago

I've noticed when my page loads at a certain scroll location, like via fragment or when the user uses back button to come back to the page at their last position, that section does not trigger a reveal. Also all folds above it are not revealed.

This causes confusion when the user must scroll in order to trigger reveals up or down. Is there a configuration option or recommended way to alleviate this UX?

I noticed issue 384 would be a brilliant solution to this problem, if we could apply scroll-directional reveals.

xyeres commented 1 year ago

I'm debugging a site for a client that used ScrollReveal and this is the issue they've had. I haven't done a lot of digging into the docs but I suspect this is an active issue due to this still being open?

BenRacicot commented 1 year ago

Yeah I don't think this project is active at all. There's another major issue still open about scroll direction reveals too which is a show-stopper.

xyeres commented 1 year ago

Thanks for the input!