I have noticed this behavior after today's XD update (v22.214.171.124). When on Preview mode (Cmd-Enter), artboard elements that have "Fix position when scrolling" checked on them disappear from preview mode. Unchecking the "Fix position" box shows them back.
As I'm working on a set of wires that rely heavily on the fixed position option, let's say I'm not exactly amused and that this is more likely a new bug that should be fixed ASAP.
STEPS TO REPRODUCE
1. In Prototype mode, select any given element
2. Connect selected element to another artboard
3. In the new Interaction panel, check the "Fix position when scrolling" option for the linked element.
4. Launch Preview Mode (Cmd-Enter)
5. Notice that the linked element does not show on screen. Unchecking "Fix position" checkbox, while not ideal, fixes it.
Copy link to clipboard
Follow up: I think I have been confusing "Preserve Scroll position" with "Fix position when scrolling" which is intended to fix elements on canvas. However, I'm leaving this on here in case someone else wants to elaborate more on the subject and could potentially have the confusion as I did.
Thanks for your inputs, Alberto. I'm glad that you are back on track.
I need to fix the position of a group on my artboard in XD, but there is no checkbox visible and no command anywhere. Looking at the earlier comment, I'm wondering if this is broken code you are fixing. Has this feature been removed or is there some other reason I CANNOT fix a group and scroll under it?
They moved it to the "prototype" tab.
Thanks. Found it. Argh!!!!
Glad that this has topic has been brought up again. because I've been noticing that users don't understand why the "Fixed position" is (or has moved) exclusively to the Prototype tab, while Component States (also a design and prototype phenomena) are available in both tabs...
I'm running into the same problem still with Xd v126.96.36.199 whether in Preview Mode (Cmd-Enter) or after publishing to a weblink. This is not "Solved" as the answer just states where to find the option, not what the OP asked. Alberto, were you able to find a workaround or is this indeed a bug that has existed now for several versions? Thanks!
Thanks for posting this workaround, @firstname.lastname@example.org!
However @HARSHIKA VERMA I don't think I should be forced to change the size of my viewport as it throws off the design flow. I think this should be reported as a bug, as the user should be able to affix an element without changing the size of the viewport.
When you have a scrollable page, it's definitely longer than your viewport height. Put the object you wanna fix right above the bottom of your viewport, not at the bottom of your page.
The idea behind is that only elements within viewport are visible.
I registered a new account just to answer your question. Googled two hours no answer. I figured it must be some common sense that I wasn't following. There it is.
(I am new here) but really trying to learn XD and this seems like a bug to me, because I have been following tutorials step by step and it only works if the image is in the header. But I want to have another section below viewpoint to have image fixed when scrolling and I tried in both design and prototype mode and it still disappears in preview. I updated my XD today too and still not fixed.
Any solution to this problem? I did everything I read here on the forum and the element still does not appear.
We are sorry to hear you are unable to see the fixed elements in XD preview. Would you mind sharing the screenshot of your design in prototype mode? I would like to know if you've fixed the elements with in the viewport area or below the fold. Anything you fix below the fold will not be visible so if you want to make your elements visible it should be within the viewport height.
Let me know if that helps. I will try my best to help.
Hello, I opened a call in Adobe is the answer is that it is not possible to solve the problem. They say it's an iphone problem (I think it's absurd!). Unfortunately, I will need to use another tool to prototype. Thanks for the help.
For me I found the problem was the element/group was nested(i.e inside another group) in the layers section. It needs to be a topmost group, as soon as I took the element out of the nesting(i.e took it outside to outermost) the option Fix Position while scrolling came back.
I will try to do that. Thanks for the tip!
I'm worn out trying to fix that similar issue. I didn't have any other options. I really need help. or need to install figma or others wireframes.
We are sorry for the delay in response and apologize for the frustration. Is it possible for you to share your workflow via a short video for better understanding? Please share the OS and XD versions of your machine. Does that happen with all the files or with a specific file?
We will try our best to investigate.
I'm experiencing the same issue, my object dissappears in preview when I fix the position when scrolling. It only works if the object is in the header. I'm on Big Sur using XD version 188.8.131.52. Has this been resolved?
The official answer i got from adobe is that this is an iphone problem (???). Will not solve. I will switch to Figma.