Skip to main content
Solved

"Auto Layout" elements have no "Fix position when scrolling"

  • September 24, 2021
  • 2 replies
  • 7697 views

luis.carmona

Almost everything in my Figma files is an Auto layout because I feel that is the best approach when representing how HTML+CSS works (CSS Grid excluded).

So, with that in mind, why can’t I Fix position when scrolling any of those Auto layout elements? Is this the intended behaviour? Is it ever going to change?

Case in point, I wanted to fix that “anchors” layer over here:

Best answer by Gleb

You can only fix position of the elements directly inside of the scrolling container. Also judging by your layout, it seems like you may want something more than Fix position when scrolling, e.g. position “sticky”, which isn’t possible.

View original
This topic has been closed for comments

2 replies

Gleb
  • Power Member
  • 4706 replies
  • Answer
  • September 25, 2021

You can only fix position of the elements directly inside of the scrolling container. Also judging by your layout, it seems like you may want something more than Fix position when scrolling, e.g. position “sticky”, which isn’t possible.


luis.carmona

Thanks for the answer Gleb, that’s exactly what I was looking for: that position:sticky behaviour. I just upvoted that post you linked! Hope they feature it soon. Thanks again!


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