113 ms·
This doesn't remove the object from the DOM after the animation is over, which the example on the website does. You'll need to add something that removes the el
by supakeen 5y ago
This doesn't remove the object from the DOM after the animation is over, which the example on the website does. You'll need to add something that removes the element after the transition is over which would be a bunch more code (the eventlistener for transitionend) :)
- epr 5y agoThanks for the heads up before the Hacker News edit window closed. +1 LOC
- jolux 5y agoFYI you can set a "delay" in your profile of up to 10 minutes before your comments are shown, giving you more time to edit. May not have helped in this case but it's a cool feature.
- SebastianKra 5y agothats's a nice tip. Thanks
- jolux 5y agoone can learn a lot from reading the FAQ: https://news.ycombinator.com/newsfaq.html https://news.ycombinator.com/newsfaq.html :)
- SebastianKra 5y ago:D that's fitting for HN. Instead of finding a more descriptive name or adding a short description below, they put it on a completely different site.