React-dotdotdot icon indicating copy to clipboard operation
React-dotdotdot copied to clipboard

Will be render to `...` when the children a series of number.

Open icarusysuper opened this issue 7 years ago • 2 comments

<Dotdotdot>
  <div>4654654351321314313131321231231321313131213211313134654654351</div>
</Dotdotdot>

will be render to (shown at broswer page)

...

icarusysuper avatar Dec 12 '18 09:12 icarusysuper

Hmm I can't reproduce this, I assume it's some custom CSS issue

CezaryDanielNowak avatar Apr 20 '19 18:04 CezaryDanielNowak

Hi, I'm also having this issue but I believe it is caused by a single word/string longer than what would fit on the lines you specify in clamp.
If you had a string of 45 characters and specified clamp to two lines and each line only fit 20 characters it would shorten the entire string to "..." instead of 40 of the characters followed by "..."

Natho74 avatar Oct 18 '19 18:10 Natho74