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

Clears ALL content in Firefox, IE, anything other than webkit.

Open Luke-SF opened this issue 9 years ago • 1 comments

Something as simple as adding a span within the clamped element, makes it completely removed when in the non-webkit-css mode.

Perhaps the webkit css mode should be removed as then this case would not accidentally make sites unusable in most browsers?

See for example: http://codepen.io/anon/pen/kkoZBx

where the only way to see something under "Clamp.js way" is in Chrome/Chromium, Webkit browsers.

Luke-SF avatar Sep 29 '16 23:09 Luke-SF

I noticed this as well and the two people who have maintained it have not been around. So I decided to make the change and release it under clamp-js-main on npm with credits to the two original contributors of course.

jmenglis avatar Dec 22 '16 18:12 jmenglis