xiaoluoboding / vue-sonner

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

fix(Toast): :bug: move the heights update to Toaster.vue #76

Closed davidramosweb closed 1 month ago

davidramosweb commented 1 month ago

It seems that when we programmatically perform a dismiss() we go into a loop in the Toaster component. Moving the height update from the Toast component to the Toaster solves the problem "Maximum recursive updates exceeded in component"

Closes https://github.com/xiaoluoboding/vue-sonner/issues/63

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vue-sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 5:14pm