xiaoluoboding / vue-sonner

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

Extending Not working correctly #42

Closed mv-stns closed 7 months ago

mv-stns commented 7 months ago

Does anyone know how this example in this Video happens?

https://github.com/xiaoluoboding/vue-sonner/assets/21103251/6e0e1b6f-c7c2-4dd3-b720-2b8ae56352f6

For further context i just run those to functions on mounted():

toast.info('We don\'t use cookies, but we do use local storage to save your theme preference.');
toast.info("Thanks for visiting my website! 🎉");
mv-stns commented 7 months ago

Nevermind, i just initialized it wrong

knorke132 commented 1 month ago

Happens to me too with this initialization in App.vue <Toaster position="top-center" theme="light" :expand="true" />

--offset is not updated on the toasts