react-truncate-html
react-truncate-html copied to clipboard
Fixing height calculation
woops, meant to close #11
why exactly do you believe this is needed?
ellipsis.js (which this code is largely if not entirely based on) doesn't do this either:
https://github.com/glinford/ellipsis.js/blob/master/ellipsis.js#L133
Please file a PR over there, and if it gets accepted, I will accept this PR because I don't really bother with the ellipsis internals too much.
Ok, thank you for the info. I just noticed that during resizing, the height was not properly calculated, but only for expanding a screen.