Skip to main content
Question

Hug auto layout doesn't update after changing text variable

  • May 22, 2025
  • 2 replies
  • 36 views

Lola-jeanne LEFEBVRE

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).

2 replies

Maroua_El_KHALIFI

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


Lola-jeanne LEFEBVRE

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.