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

Trimming/Ellipsis on Chinese, Japanese, etc... Characters #81

Open
bear0064 opened this issue Mar 31, 2017 · 0 comments
Open

Trimming/Ellipsis on Chinese, Japanese, etc... Characters #81

bear0064 opened this issue Mar 31, 2017 · 0 comments

Comments

@bear0064
Copy link

Hi there,

Loving the current fuctionality so far. I've ran into an interesting problem that I can't seem to properly isolate.

When using angular-ellipsis within a project I am working on it works great as intended with normal languages however, when I translate something from English to Chinese (pre-compiled strings) the DOM correctly updates, digests and outputs as I would expect but the ellipsis seems to trim too much. Chrome seems to be the culprate.

The content should fill the div like so:

2017-03-31_1045

This is the truncate issue:

2017-03-31_1043

Thanks

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

1 participant