Open Hydrog3n opened 3 years ago
Hello, I found a bug. If launch toasted multiple time with error and success the classname are keep in the html element. I found also here : https://github.com/shakee93/vue-toasted/blame/db5ccc47b9b7b27f097dde0943d67f4269c6be0d/src/js/toast.js#L212 the object options are shallow clone so by adding className in the options the global options is also modified.
When may want to do a deep clone.
Thank for the plugins
Hello, I found a bug. If launch toasted multiple time with error and success the classname are keep in the html element. I found also here : https://github.com/shakee93/vue-toasted/blame/db5ccc47b9b7b27f097dde0943d67f4269c6be0d/src/js/toast.js#L212 the object options are shallow clone so by adding className in the options the global options is also modified.
When may want to do a deep clone.
Thank for the plugins