Skip to main content
Question

Scroll position not preserved when changing to a variant after delay

  • March 24, 2021
  • 1 reply
  • 1839 views

Bas_Stroomer

I wanted to show a sticky toast at the top of a long page, that disappears after 5000ms by going to a variant of the page without toast.
I checked preserve scroll position, since the user could have already scrolled down.
When going to the toastless variant it still jumped to the top of the page.

1 reply

Apolline_Gaillard

Hello, were you able to you solve this issue?
I’m having a similar issue I want a menu with a fixed position and the menu has effects on hover, however when you scroll down and hover on the menu it jumps up to the original position then down, even if it is set as fix position when scrolling and all variants are.

Edit : was able to solve it with Interactions with smart animate not working as expected when position is fixed and document is scrolled down


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings