chaodyz / ngx-line-truncation

An Angular line truncating solution. Truncate text block by given line number and add ellipsis to the end.

Home Page:https://line-truncation-site.appspot.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to Angular 8

Enngage opened this issue · comments

Thanks for the lib! Works fine in my Angular 8, but would be good to up the peer deps.

Just a question - not sure if its intended or not, but line truncating does not work properly when used in combination with fxFlex and changing resolution dynamically. Works ok for hard reload with F5 which is why this is not gonna be an issue in most situation, but still - elements can resize dynamically in some circumstances.

Hi there, thank you very much for the feedback.
Yeah, I will put a dependency update soon! For the question, it currently does not support re-truncation on screen resizing, as the possible solution for this has been proposed in #1, there is already a plan to add this feature in.

Hello @Enngage
As truncate text on window resize feature has been added in in #4 feel free to try it out.
upgrade peer dependency has been done in #3
if you experience any issue, let me know