• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Fixed Posiiton Not Working

Explorer ,
Mar 22, 2023 Mar 22, 2023

Copy link to clipboard

Copied

I have the element seleced and the Fix Position When Scrolling box checked, but it doesn't work in the preview link. What's the wrokaround for this?

 

Screenshot 2023-03-22 at 3.25.02 PM.png

TOPICS
How to

Views

342

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 22, 2023 Mar 22, 2023

Copy link to clipboard

Copied

Hey, can you please post a screenshot of the element, a link to the prototype, or even better - upload the .xd file somewhere and share the link here? If it's sensitive info, feel free to send it to me via PM and I'll have a look.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

Hi Spas,

 

Yeah, here's the xd file. My goal is to create a sticky menu. I want to make it works properly before I go and create a mockup.

 

I appreciate your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

Hey there! Just checked your file. The fixed scroll works, but the issue is your page isn't scrolling at all. For it to scroll, the viewport height value needs to be smaller than the height of your artboard / screen.

 

While on the Design tab, select the artboard, and on the right change the viewport height value to something smaller than the height of the artboard:

SpasK_0-1679604562128.png

 

Once you do that, you will see a dashed line appear on the artboard, which indicates the bottom of the viewport when the prototype is viewed. You can also change the viewport height by dragging this blue marker up or down the artboard.

SpasK_1-1679604728588.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

LATEST

Got it. That helped a lot. Thanks, Spas!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines