Skip to main content
Question

Absolute position from Figma plugin

  • February 27, 2023
  • 4 replies
  • 916 views

Dhairya_Shah

Is there any field returned by the figma plugin which will help identify the absolute position CSS property for the frame?

This topic has been closed for replies.

4 replies

tank666
  • 4873 replies
  • February 27, 2023

Dhairya_Shah

In some cases, layoutPositioning is set as AUTO, but the component uses Absolute positioning. Is there any way to handle such cases?


Gleb
  • Power Member
  • 4715 replies
  • February 27, 2023

Do you mean that in UI an object has absolute position, but in the API it doesn’t? Can you share an example?


Stephane_Popout

layoutPositioning property is applicable only for direct children of auto-layout frames.

If there is no autolayout on the parent, then it’s also a position absolute


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