Skip to main content
Solved

Fix Position when scrolling causes frames to disappear


Martyn

I am trying to freeze a menu at the bottom of the display. When I choose to fix position when scrolling it disappears from view on figma mirror or in prototype mode.

I’ve tried messing with the constraints even attempted to fix it in the middle of the screen just to see if that would work but as soon as I check that box it disappears.

Best answer by Gleb

If you set constraints correctly, nothing will disappear. Constraints control which side of the screen is used when fixing the content relative to it. So if your item is somewhere at the bottom of the long scrolling list (y = 1500 for example) and you set its constraints to Top — it will be fixed relative to the top, at y = 1500, which is outside of the visible screen.

View original
This topic has been closed for comments

12 replies

tank666
  • 4856 replies
  • April 15, 2021

Place the menu item at the bottom of the frame (where your content ends), in the constraints properties select “Bottom”.


Martyn
  • Author
  • 2 replies
  • April 15, 2021

Constraints were set to the bottom, still disappeared. There’s a few spectrum threads listing this bug. I tried everything I could find on these forums for 2 hours. To fix it I rebooted the mac and reinstalled figma, then it worked. No idea why but that fixed it


Gleb
  • Power Member
  • 4706 replies
  • April 25, 2021

Can you share the file link?


Brian5
  • 1 reply
  • May 27, 2021

Did you find a solution? i am experiencing the same


Gleb
  • Power Member
  • 4706 replies
  • Answer
  • May 28, 2021

If you set constraints correctly, nothing will disappear. Constraints control which side of the screen is used when fixing the content relative to it. So if your item is somewhere at the bottom of the long scrolling list (y = 1500 for example) and you set its constraints to Top — it will be fixed relative to the top, at y = 1500, which is outside of the visible screen.


Martyn
  • Author
  • 2 replies
  • May 28, 2021

I can confirm it was a bug. I copied and pasted the frame into another file and it worked fine. From there I migrated the whole prototype into a new file and it worked seemlessly


Fabian_Stuckrath

I have the disappearing layer problem too. My Problem is, that Figma automatically places sticky elements above scroll elements. A scrollable overlay in the front seems to be impossible to do.


Lara_Osborne

This explanation helped me tremendously. Thank you so much.


Maisura
  • 1 reply
  • September 10, 2021

Thanks! This helped!


Nabil1
  • 1 reply
  • September 13, 2021

Just came across the same problem. Instead of moving everything to a new file, I just closed Figma and opened it again. Fixed the problem.


dvaliao
Figmate
  • Community Support
  • 4591 replies
  • September 13, 2021

Hey @Nabil1,

That definitely seems strange. If you come across this issue again, please let us know.


Gleb
  • Power Member
  • 4706 replies
  • October 30, 2021

This topic was automatically closed after 19 hours. New replies are no longer allowed.


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