Question
Truncate URL or email to preserve slug

I would love to be able to truncate this left side (red) text area when the right side (yellow) text area meets the far right side of the component. This is already built in code but not possible in Figma, which prides itself in being 1:1 with code. The version I drew on the “what I want” side is manually truncated for that exact width.
Am I wrong? Does anybody know how to build this using autolayout/frames?
I’ve run up against this in some way or another in every design system I’ve built. It would be nice for this to just be a feature, where truncation can also lead the field or be in the middle of it.
