Open clam61 opened 2 years ago
Same issue here. No luck with it animating aside from using the default toast and not the custom one.
This issue seems to be caused by TailwindCSS not generating the necessary styles.
However, I do see it's not ideal that the example on the website is not easily reproducible.
Is this related to to #187?
If I try the sample from the webpage. My toast appears and it is styled, but there is no animation in or out.
I also extended my tailwind.config.js with animate-enter and animate-leave, which I got from this repo (https://github.com/timolins/react-hot-toast/blob/main/site/tailwind.config.js) :