Skip to content

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

Description

@bear0064

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions