The implementation of PR #62, aimed at improving emoji handling in TrimMode.Length, inadvertently introduces a regression in TrimMode.Line. When using TrimMode.Line with a specific trimLines value, texts containing emojis now exceed the set line limit, displaying more lines than intended.
The implementation of PR #62, aimed at improving emoji handling in
TrimMode.Length
, inadvertently introduces a regression inTrimMode.Line
. When usingTrimMode.Line
with a specifictrimLines
value, texts containing emojis now exceed the set line limit, displaying more lines than intended.Current behaviour
trimLines: 3
:Expected behaviour
trimLines: 3
: