I have text in a component set to truncate, however when I create an instance of the component and add text through the properties panel I only get an eclipse at the start of the text box (no text).
However when I change the width of the instance the truncation works as expected. (see attached).
Additionally, if I input text directly into the instance (by clicking into the text box), the truncating is works properly.
Can anyone help and is this a glitch or am I doing something wrong?
+1
It started a day ago or so, first I thought something with my component was destroyed, but I cannot make it work any longer, the three dots sometimes is outside the component as well, sometimes the three dots are cut/truncated as well
Iām having the same problem, and the weirdest part is that instances of the component with the issueā¦donāt have the issue. Same exact settings on the text, but even when I paste a new instance of the component, that instance has properly truncated text. But the main component does not. It truncates about 20% of the way into the line, instead of 100%.
Iām using text truncating in a container not wide enough to show everything (meaning, thereās extra text after the three dots), but text gets cut off before the end of the container. It gets cut off in the middle of it. It looks just fine while Iām editing the field. See the screenshots.
So, I think I might have found out what the issue is.
The text container is in an instance. Container horizontal resizing is set to Fill. When I return it to Fixed, the container actually ends at the same place where the truncating starts in a Fill setup. When I detach instance, the truncating starts working as intended.
So this clearly has something to do with the fact that the text container is in a component. As to why it behaves like this, I have no idea. Probably some deeply buried system issue.
Hope Figma devs see this. Or anyone who encounters the same issue. Hope Iāve explained it well enough.
Hi everyone, thank you for your patience. Our engineering team has successfully released a fix! Please refresh Figma to ensure that you are using the fixed version.
I agree with @Lars_Dahlen though, I also have to see to every single section and click on it to actually update it. I donāt have to resize it to nudge the truncate to start working properly, but I do have to simply select the text container to update the truncate. Refreshing the file does do the trick.
Thanks for the update but i still think it isnāt working perfectly. The truncation ist still ending to soon. The truncation is ending in the middle of a button and when i am clicking inside the textfield, the truncation is running out of the textframe.
You may need to select a problem instance and click the āRegenerate all instances (slow)ā command (found in the Main Menu in the top left, and then click āQuick Actionsā and type the command and click this), for these to now display correctly.