This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Fran Pérez
Posted Sep 06 - Read on Facebook

Why when dragging a page "out" of a pageComponent, the pageComponent.content moves and reposition itself? How can I avoid this?


Fran Pérez

Koen? thanks :)

Min-Sang Choi


Benjamin Den Boer

You should be able to fix this by defining constraints for your draggable layers, like: layerA.draggable.constraints = page.content.frame

Dennis Kerzig

A hacky solution would be using the former layers as invisible pseudo-layers after dragging them out.. What do you think?

Fran Pérez

Thanks guys, best solution I found is to make a subLayer of the page draggable, instead of page itself :)

Dennis Kerzig

But in your example above the subLayers are the draggable ones, aren't they? Would you post your working example for reference :)

Read the entire post on Facebook