ellipsis.js icon indicating copy to clipboard operation
ellipsis.js copied to clipboard

Throws error while using with nested elements

Open bsalesc opened this issue 4 years ago • 1 comments

When used with children elements the line below throws error because the i is already 0, above this line there is a conditional checking for the current index, but not for the previous.

https://github.com/glinford/ellipsis.js/blob/d133860840dc90b533cf36e1e228bdf17ed9373e/ellipsis.js#L288

bsalesc avatar Feb 13 '20 09:02 bsalesc

Hi, sorry I'm not really maintaining this library.

Can you show me a sample test case or codepen or something when this breaks and I'll look into it.

glinford avatar Jun 24 '20 22:06 glinford