Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work on Angular8 #20

Closed
gotwig opened this issue Jul 19, 2019 · 3 comments
Closed

Doesnt work on Angular8 #20

gotwig opened this issue Jul 19, 2019 · 3 comments

Comments

@gotwig
Copy link

gotwig commented Jul 19, 2019

I tried to use the following code in the latest angular release, but nothing is happening.

The text is not shortened, theres no overflow hidden or anything like that, and when I use overflow hidden inside the style attribute there are no ellipsis characters (..)

<p style="width: 100px; height: 100px;" ellipsis [ellipsis-content]="variableName"> </p>

using div instead of p doesnt change anything.

Btw for the demo you should suggest to use P instead of DIV - DIV is a container format, P is for paragraphs.

Even better: Make a working stackblitz for the demo to prove that its working!

Thanks for your affords!

Cheers, Eddy

@lentschi
Copy link
Owner

@gotwig
Copy link
Author

gotwig commented Jul 19, 2019

thx i will try it next week (Y)

@gotwig
Copy link
Author

gotwig commented Jul 22, 2019

Im not sure why, but in my case the "..." and the text shorting only happens after I manualy change the height for example in css in the browser. When the page inititaly loads theres no ellipsis... any idea?

btw: I dont think its good practise to close tickets directly without getting feedback from the one reporting the issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants