Hacker News new | ask | show | jobs
by pedrogpimenta 2228 days ago
There are some tricks you can use if you know the max possible height your element can have, but it's not great, yeah.

Edit: Oh, I just saw that the stackoverflow question you linked has this for the accepted answer :)

1 comments

The problem is the animation speed is overly fast if you're at less than that maximum height.