whenever I use the numberOfLines
property with truncation involved, it often put the ellipsis in the middle of a word.
So given the following:
<Text numberOfLines="{2}">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam dolore cumque
dignissimos necessitatibus ad sunt dolores. Beatae ex iusto nostrum magni,
aperiam sed nemo, qui, aliquam error maiores debitis! Porro.
</Text>
It can end up looking like:
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam
dolore cumque dignissimos necessitatibus ad sunt dolores. Be...
Is it possible to not break the word, and have the ellipsis at the end of a full word only? I can’t find any native way or 3rd party package that does this.
Thanks,