xiaoluoboding / vue-sonner

🔔 An opinionated toast component for Vue.
https://vue-sonner.vercel.app
MIT License
803 stars 41 forks source link

Weird looking styles after promise is resolved #36

Closed BayBreezy closed 5 months ago

BayBreezy commented 9 months ago

Hello again @xiaoluoboding ,

After a promised gets resolved and I hover to close the toast, the height shrinks immediately. Here is a screenshot of what I am referring to:

image

It only happens if the text goes for more than one line.

BayBreezy commented 8 months ago

Hello @xiaoluoboding

Another thing I would like to point out is the animation in a Nuxt 3 application. In development, the animation for multiple toast works well, but in production build, expanding the toasts on hover looks weird. If you visit this app and toggle the theme multiple times and then hover to expand, you will see what I am talking about: https://settings-dash.behonbaker.com/

To reproduce:

Here is a short video

https://github.com/xiaoluoboding/vue-sonner/assets/53905713/2b0d368a-b93f-4f79-9905-fd9d88e11758

BayBreezy commented 7 months ago

@xiaoluoboding I can confirm that the latest update v1.0.3 fixed the animation issue mentioned above this comment. Thanks ❤️