figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

Duplicating A Token Into An Existing Group Moves Group Position

Open keeganedwin opened this issue 1 year ago • 1 comments

Describe the bug I'm not sure as to when this change took place, but before when duplicating a token into an existing group, it would just be added to group. The current behaviour however is that when you duplicated a token into an existing group, it not only adds the token but also moves the position of the group to the top of the group-tree.

To Reproduce Steps to reproduce the behavior:

  1. Take one token from a group
  2. Edit the name i.e. default.blue.100 to extended.blue.50
  3. Duplicate it into the existing group
  4. See error

Expected behavior The group should just retain its position and not change when a token is duplicated into it.

Screenshots or Screencasts Recording

Figma file (optional) Test File

keeganedwin avatar Nov 23 '23 16:11 keeganedwin