Scroll direction stops working after enabling motion page?

Hi,
I’ve started using motion page on my cwicly site . Everything works fine together, except the sticky header menu (with scroll direction), which behaves like an fixed element on top of the page. Dose anyone has an idea what could cause this behaviour or even better, how to fix it? Thanks a lot!
Greetings
Marc

It’s the smooth scrolling which leads to this issue.
There is a parent container added which adds a transform when scrolling, so the fixed or absolute positioned elements lose the orientation.

In case you want to leave the smooth scrolling as it is, I’d suggest to add the header animation via motion.page and their scroll triggers and remove it from the Cwicly’s block option.

Removing the smooth scrolling should fix it as well.

2 Likes

@Marius
You are absolutely right - I fixed it by disabling the smooth scrolling. Thank you very much again :))

1 Like