- Add Text
- Add Auto layout to Text
- Add Rectangle into Auto layout frame
- Ignore auto layout on Rectangle
- Set Constraints to Top + Bottom or Scale
- Enter several lines of text, notice the rectangle grows in size 👍
- Duplicate example above
- Add Group to Rectangle
- Enter several lines of text, notice the rectangle doesn’t grow in size 👎
Note: This is a simplified example; I required an absolute position group in my work to control overall opacity of several layers at once with one Figma variable.
I have tried the following:
- Using frame instead of group
- Setting constraint to bottom only
- Flipping Rectangle vertically to maybe trick constraint
- Keying in 100% to height and entering the height manually
- Refitting it to 100% height by drag handle
- Setting to scale constraint
- Setting nested rectangle to scale constraint and vice versa with group
- Reopening file
I believe the “Bad” frame below should work like the “Good” frame.
