Figma Support Forum

Scroll position not preserved when changing to a variant after delay

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.