Skip to main content
Answer

Prototype resetting Scroll Position

  • April 1, 2024
  • 7 replies
  • 1135 views

lizaplastun

The problem is still relevant. Can I find out if there will be a fix?
Continuing the discussion from Prototype resetting Scroll Position even though those settings have not been selected:

Best answer by tank666

Do I understand correctly that the bug occurs when collapsing/expanding chapters? If yes, then this is due to a bug in the smart animation of auto layout frames. There are two solutions here:

  1. Instead of “Smart animate”, use “Instant”.
  2. Wrap your auto layout in a frame of a fixed height (set the height equal to the height of the device), and also change the overflow scrolling behavior (from “No scrolling” to “Vertical”) of this frame.
This topic has been closed for replies.

7 replies

tank666
  • April 1, 2024

Have you followed these Help Center articles?

Figma Learn - Help Center

lizaplastun

Yes, I read these articles. I have a problem with animation in components. When animating simple frames everything is fine. And when using an animated component, everything breaks. I can’t find the reason.


tank666
  • April 1, 2024

Could you share a link to the example file?


lizaplastun
Figma – 1 Apr 24

Here’s an example


tank666
  • Answer
  • April 1, 2024

Do I understand correctly that the bug occurs when collapsing/expanding chapters? If yes, then this is due to a bug in the smart animation of auto layout frames. There are two solutions here:

  1. Instead of “Smart animate”, use “Instant”.
  2. Wrap your auto layout in a frame of a fixed height (set the height equal to the height of the device), and also change the overflow scrolling behavior (from “No scrolling” to “Vertical”) of this frame.

lizaplastun

The second option worked! Thank you very much!


Louistdesign
  • New Member
  • March 6, 2025

I just watched this video 


And you can fix it way more easily by renaming your frame with the same exact name and differentiating them using a “/...” it fixed the issue for me and was a real life saver