Skip to main content
Lola-jeanne LEFEBVRE
New Member
May 22, 2025
Question

Hug auto layout doesn't update after changing text variable

I’m currently making a Chants of Sennaar prototype for a school project using figma. I’ve come across this issue while making the annotation feature of the journal. When the user submits their text using the arrow button, i update the text variable of the bubble to the user’s text (see attachment). This works fine, however the bubble’s hug auto layout doesn’t seem to pick up the change and therefore doesn’t adapt to the new text’s length.

The bubble’s auto layout properties

Is there any way to fix this ? The text in itself also has the “hug” property and the bubble + text is a variant (if that changes anything).

This topic has been closed for replies.

2 replies

Maroua_El_KHALIFI
New Member
May 22, 2025

Hello! Maybe you should remove max width by clicking on width dropdown then remove max width

Lola-jeanne LEFEBVRE
New Member
May 22, 2025

Hello! Maybe you should remove max width by clicking on width dropdown then remove max width

Hi ! Thank you for your reply. I don’t have a max width on the bubble, only a min width which i tried removing in case it changed anything but it didn’t work.