Skip to main content
Solved

Layer refuses to stay in Component Variant when repositioned


Video with Issue: https://www.youtube.com/watch?v=enUxph1q-MA

File link: https://www.figma.com/file/8kqK6djSIaZe0vH0aEsJ7U/Wireframes?type=design&node-id=119%3A901&mode=design&t=psqVaQlQkECjlXKT-1

First time posting here so sorry if I make any mistakes. Been learning about variants and components, and am trying to like add new layers to only one variant of a component. I create the layer and in the layer sidebar I put it where it should be. But if I try to then re-position the layer relative to the rest of the variant it just pops back out of the component all-together which is quite annoying. Video will show what I mean. How should I go about fixing this? Not sure if this is a bug or intended behaviour and I am doing something wrong. Thanks.

Best answer by Zach_Rubin

Thank you. This helped me to find the real issue which was just that the bounding box for my variant was way too small since I was just starting with the tiny red circle. I held control/command to increase it and now just moving the new element around seems to work all good now. Thank you very much.

View original

2 replies

Nate_G
  • Power Member
  • 180 replies
  • October 28, 2023

@Zach_Rubin If you want to drag an element into a variant, start dragging the element and then hold down the Command key, this will help more easily put the element within the variant you are hovering over.

Then if you want to drag that element around within a variant and not have it pop out, start dragging it and hold down the spacebar — the element will always stay within the variant.


  • Author
  • 1 reply
  • Answer
  • October 28, 2023

Thank you. This helped me to find the real issue which was just that the bounding box for my variant was way too small since I was just starting with the tiny red circle. I held control/command to increase it and now just moving the new element around seems to work all good now. Thank you very much.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings