Figma Support Forum

Dynamic anchor for ‘Scroll to’ action

I’m working on a design with a floating button that uses a ’Scroll to’ action so that the user at any point can scroll down to a FAQ.

However, I also have components with different height variants throughout the page, which makes the y-value of the FAQ differ based on which variants are enabled. It’s a slight hustle to replace it in different artboards, but totally doable.

Looking ahead to Interactive components, when they will support auto-layout however, the y-value of where the FAQ starts would be dynamic.

Is there currently way to create anchors or just refer to frame/component name instead of a static number?

And if not, should this be considered for a future release?