Fix position when scrolling glitching on prototype

Hi!

I have a glitch happening on different components while “fix position when scrolling” is on.

Let’s say that I have a nav bar that’s fixed. When I keep the prototype page in its default position (right at the top) and I interact with it, it works fine, but if I try to interact with it after scrolling it glitches and goes back to its original place on the page for a second and then comes back to its fixed position. It is happening as well with other fixed position components that are fixed to the right or left, which is extremely annoying :frowning:

Screen Recording 2022-09-05 at 13.19.09 (1)

From what I have tested, this only happens with smart animate on.

Any idea why this is happening?

2 Likes

Thank you for the reply, but that didn’t work, unfortunately.

Could you share a link to an example file?

File: https://www.figma.com/file/51DScr7NkQ68ZcmtklsptD/Example-fixed-glitch?node-id=0%3A1

Prototype: https://www.figma.com/proto/51DScr7NkQ68ZcmtklsptD/Example-fixed-glitch?page-id=0%3A1&node-id=1%3A2&viewport=393%2C563%2C0.63&scaling=min-zoom

I did the same as in my answer above and it completely solves your problem. That is, wrap your instance in a frame.

OH now I got what you meant and it worked, thank you!
It doesn’t make much sense that it has to be wrapped in another frame to work (because it already is a frame), specially since setting the animation to instant or dissolve doesn’t trigger this glitch :thinking:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.