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 have noticed sometimes that when my preact component loads to the page, instead of truncating by number of lines it truncates by words. I put the ellipsis call inside componentDidMount() initially, but have tried several other places as well. I only see the issue when loading my component via other components, not when running the demo of my component.
The text was updated successfully, but these errors were encountered:
Hi @jkester1986 👋
Can you please provide an example of one or two components that we can use to reproduce this? Haven't tried ellipsed with react yet (or preact, or others), but I'm interested in trying it, so I'm willing to look into this issue :)
Sorry, must have missed your first reply. The only time I saw the issue though was when I loaded one component into with another. The child component would truncate incorrectly sometimes in that case. It didn't really matter where I put the ellipsis call. Running a demo on just the child component itself worked perfectly fine. I unfortunately can't give an example of the components because they are things that we built at my place of employment
I have noticed sometimes that when my preact component loads to the page, instead of truncating by number of lines it truncates by words. I put the ellipsis call inside componentDidMount() initially, but have tried several other places as well. I only see the issue when loading my component via other components, not when running the demo of my component.
The text was updated successfully, but these errors were encountered: