What's wrong just setting a max height. If reached in real time at any point 👉 View More

Like, nosotros:

Reply to this note

Please Login to reply.

Discussion

With just the max-height you won't be able to render the "view more" button as you don't know, I am using react-use-measure to measure the post height to them show the button, i am not very happy with this solution as it cause the post content to render twice in case the condition is true, wish there was a css only solution for that.

Ooh damn, yup that's annoying.

I selfishly hope Flutter dues have some more straightforward solution for this 😉

Then char count is the way I guess.

Amethyst seems to do that with a way to translate images/quotes into a number of chars.