Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassName are keep on each show #197

Open
Hydrog3n opened this issue Apr 7, 2021 · 0 comments
Open

ClassName are keep on each show #197

Hydrog3n opened this issue Apr 7, 2021 · 0 comments

Comments

@Hydrog3n
Copy link

Hydrog3n commented Apr 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant