You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set a text element as auto-size and add a child anchored on some edges of the text.
If you change the text string in the editor, the child of the text element follows updates its size and position, but not in play mode.
I verified that this behavior is not related to the text element only.
If I resize by code any element, its children don't get notified, and I have to call a fake setLocalPosition to force them to update their position based on the anchor.
Set a text element as auto-size and add a child anchored on some edges of the text.
If you change the text string in the editor, the child of the text element follows updates its size and position, but not in play mode.
repro:
https://playcanvas.com/project/536769/overview/ui-issues
hit play, after 1 sec the text updates but the two squares don't move as expected
The text was updated successfully, but these errors were encountered: