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

What is Framer? Join the Community
Return to index
Arvi Raquel-Santos
Posted Feb 12 - Read on Facebook

Attempting to do a drag on the X-axis. I have 4 cards but as you can see, once I start dragging, the second card is getting cropped out. Does anyone know what I'm doing wrong here?

15 Comments

Arvi Raquel-Santos

Screenshot of the code

Matej Hrescak

Gotta drag cards and not crop?

Stephen Crowley

Using Sketch?

Arvi Raquel-Santos

Stephen yes. I can get it to scroll vertically in another file.

Arvi Raquel-Santos

Matej, you'd think so but I thought putting the cards in a superLayer would do the trick.

Stephen Crowley

Hmm. What does your art board look like?

Arvi Raquel-Santos

Hmm. Now something weird is going on. I pulled all groups out of the artboard. And when I re-imported into Framer, nothing shows up.

Arvi Raquel-Santos

What I see in FramerJS

Arvi Raquel-Santos

K, stay tuned. I think Stephen's theory about the artboard was correct but there's something weird going on with the sketch file so I'm copying and pasting each group to a new file to see what's causing the bug... ugh.

Stephen Crowley

Yeah just want to see if your art board is the width of all your assets... Framer will mask it for you but if any of your design goes outside the art board it will crop

Arvi Raquel-Santos

Stephen you were absolutely correct. Plus there was a weird corrupt layer that didn't help in diagnosing the problem. Thanks!

Jaydev Ajit Kumar

Arvi Raquel-Santos i had the same issue when i tried one of my projects. I guess it was because framer doesn't import things outside the art board. To get around this you can layer your cards one on top of another in ps or sketch and import it to framer and then displace the the cards horizontally by giving them an offset in framer

Danny White

What everyone else is saying. About not being able to see your imported Sketch layers—I've found that having multiple .sketch files open at the same time causes this. As soon as I only have the one .sketch file that I want to use open, and re-import that, it works.

Stephen Crowley

Cool, that's the first that came to mind but didn't want to jump to conclusions. Glad you got it figured out.

Eli Sebastian Brumbaugh

With that solid block of color I thought you had created a marber grid music player!

Read the entire post on Facebook