Skip to main content
Question

Back to top button isn't working

  • December 16, 2023
  • 1 reply
  • 1022 views

Hi all,

I’m trying to create a back to to button but everything that I tried according to previous topics here in the community didn’t work for me.
I tried to use the sticky scrolling and make the frame bigger so the button stays at the bottom of the page but it’s not working. When I go to the preview, it doesn’t even show the button. the button is also the top layer.


I also don’t see any “fix position when scrolling” under constraints.
Alternatively I tried fixed scroll behavior but that doesn’t work too.
Can you please help me? I really don’t know what I should do.

Celine_D
Figmate
  • Community Support
  • December 18, 2023

Hi Niloofar,
Thanks for reaching out to the community!
If I understand well what you intend to do, the fixed position should help your button not to move, even as you scroll up and down. Please also remind that you cannot assign a fixed scroll position to any objects in a frame with auto layout, unless the object has an absolute position applied (https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#h_01G2RPRBBKVKXK0JV59NCSKEE0).
You can have more information on prototype scroll and overflow behavior that can give you more insight here: https://help.figma.com/hc/en-us/articles/360039818734-Prototype-scroll-and-overflow-behavior#h_01HHN69W8T17A4A5T2EV7BGKEK

If this doesn’t help, it would be great to have a copy of your file so the community can look at it. If you are hesitant to share it publicly, feel free to reach out to our support team directly by filling a form here: https://help.figma.com/hc/en-us/requests/new


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