yuanqing / figma-plugins

:fire: Monorepo for my Figma plugins
https://figma.com/@yuanqing
MIT License
239 stars 32 forks source link

Smart sort layers changes position of Auto Layout layers #3

Closed tkeenoy closed 4 years ago

tkeenoy commented 4 years ago

Smart Sort Layers changes the stacking order of layers, which affects their position in the layout. This is unexpected behavior. Can it be an option or default to NOT change layers in an Auto Layout?

yuanqing commented 4 years ago

@tkeenoy Thanks for reporting this :+1:

default to NOT change layers in an Auto Layout

The Smart Sort algorithm currently does not modify the content of layers with Auto Layout enabled. However, there could be corner cases that I missed in the implementation.

Would you be able to share:

  1. The name of the plugin (is it Clean Document or Sort Layers) where the issue occurred
  2. Better yet: a quick screen recording showing the steps to replicate the issue in the Figma app
yuanqing commented 4 years ago

Closing due to inactivity