Hi everyone,
I’ve set up a scroll interaction using the “Enter viewport” trigger (see screenshot). Everything works as expected: the element fades out when it reaches the center of the screen, thanks to rootMargin: 0px 0px -50% 0px
.
after the fadeOut completes, the element becomes visible again as I continue scrolling. I was expecting it to stay hidden after fading out.
Has anyone experienced something similar or knows how to prevent the element from becoming visible again after the animation? I already tried toggling the “Run only once” option, but that didn’t help.
Thanks in advance!
type or paste code here
Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)
[Please describe this bug in as much detail as possible so we can replicate & debug this bug]