SOLVED: Interactions: Show on scroll, shows content after 50px not after 50%

Bricks Version: 1.6.2
Browser: Chrome 90
OS: macOS / Windows / Linux / etc.
URL: https://woocommerce-813336-2965024.cloudwaysapps.com/

As the title says. It looks like the content is being shown after 50px instead of 50%.

Hi Peter,
Thanks so much for your report!

Where exactly can I see the problem?

Best regards,
timmse

Hi timmse,

sorry for the late reply.

you can see it here muaystore.si

Hey Peter, no need to apologize for the late reply :slight_smile:
After consultation with the developers, only pixel values work reliably with window.scrollY.

We add (px) to the scroll offset label to make it obvious that only pixel values work there.

Best regards,
timmse

Hi Peter,
I just deleted your “Poor execution of Bricks popups” thread because it makes no sense whatsoever to open a new thread there instead of just replying here.

Actually, I had some good news, namely that % and vh values will soon be allowed… you’re welcome! As far as the animation of the backdrop is concerned, we already have it on the list, along with many other pop-up improvements.

Hi Peter,
With Bricks 1.7.1, now available as a one-click update in your WordPress Dashboard, you can use px, % (body-height) or vh (viewport height) values.

Let us know if you are still experiencing issues.

Best regards,
timmse