Skip to main content
Question

The absolute position setting is lost and locations change after calling group api for an absolute node


As the plugin API document says, the group api allows to create the new group while keeping all the grouped layers in the same absolute x/y locations. However, it dosen’t work as expected in my case:

// the absoluteNode has the layoutPositioning "ABSOLUTE"
figma.group([absoluteNode], absoluteNode.parent);
// the x/y locations of absoluteNode are changed, and the new group has the layoutPositioning "AUTO"

Also, I’ve double checked the “Group selection” menu in Figma editor and it works all right. It seems that there is bug in group API. Hope it to be fixed.

This topic has been closed for replies.

3 replies

  • Figmate
  • 2002 replies
  • June 17, 2024

Hi @varpennyli, Thank you for bringing this to our attention.

It’s unfortunate to hear that things aren’t working as expected. I’ll make sure to pass this information along to the relevant teams internally so they can check into it.

Thanks again for flagging this!


  • Author
  • 2 replies
  • June 18, 2024

Here is the detail of the case:

Also you can find the design file from the community:
https://www.figma.com/community/file/1222100666260862670

Hope it helps.


jefflee
Figmate
  • Figmate
  • 24 replies
  • July 2, 2024

I can repro this…we’ll file an internal issue and look into this further. Thanks for the report!


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