Skip to main content
Solved

Prototype resetting Scroll Position


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.
View original

7 replies

tank666
  • 4856 replies
  • 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
  • 4856 replies
  • April 1, 2024

Could you share a link to the example file?


lizaplastun
Figma – 1 Apr 24

Here’s an example


tank666
  • 4856 replies
  • 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

I just watched this video 

https://www.youtube.com/watch?v=VGLgDcim2IE&t=0s&ab_channel=CalebSylvest


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


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