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

NGX-Ellipsis doesnt trigger first time its displayed in my template #22

Closed
gotwig opened this issue Jul 22, 2019 · 1 comment
Closed

Comments

@gotwig
Copy link

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?

I have the latest angular version, and I checked out the stackblitz, I dont know why this is happening. Do I miss something important? have you experienced this issue?

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

Thank you!

@lentschi
Copy link
Owner

@gotwig

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

I closed it, because you hardly provided any details other than "it doesn't work". If you would have come up with some way to reproduce your issue, I could have reopened it.

Since you didn't provide a failing StackBlitz, I still have no clue what's going on with your application of the lib. Reading your text, I think maybe you have a slight misconception of how ngx-ellipsis should work: Any styles need to be set by yourself. (Different users might need different styles, so ngx-ellipsis doesn't ever apply any styles such as height: 100px on its own - You yourself have to take care of that. That is why in the simple sample in the README the code includes style="width: 100px; height: 100px;". )

So please provide a failing StackBlitz (or similar) sample, then I might be able to help you. But I really don't have the time to just guess around.

Also please don't double post: I saw your comment at #20, I just don't always have the time to reply immediately.

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