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
I haven't yet tested older versions (does the playground support changing the version?)
My current workaround uses @shuding/opentype.js to measure the font width of every character and rendering the ellipsis myself instead when utilizing a scale transform.
The text was updated successfully, but these errors were encountered:
Bug report
Description / Observed Behavior
When applying ellipsis styles I noticed that text was disappearing if I also used a scale transform.
Removing either the ellipsis styles or the transform fixes the issue. Applying a background clip also shows the text.
Narrowing the issue down further, it appears to happen when using both
overflow: hidden
andtransform: scale()
at the same time.Expected Behavior
I would have expected the transform to apply without the text being hidden.
Reproduction
🐛 with overflow hidden & transform
✅ Only transform
✅ Only overflow hidden
Revealed by background clip
Additional Context
Could this be related to #639?
Satori v0.12.0 and v0.11.3
I haven't yet tested older versions (does the playground support changing the version?)
My current workaround uses
@shuding/opentype.js
to measure the font width of every character and rendering the ellipsis myself instead when utilizing a scale transform.The text was updated successfully, but these errors were encountered: