Toast not removing itself
Tolfx opened this issue · 1 comments
Tolfx commented
When a toast appears it gets creating in the DOM
, then when you dismiss it. It won't acutally delete it self, rather it changes is opacity to 0 instead. This becomes an issue when a new toast comes to life, since it runs a function that shows all of the toasts. Which ends up showing those we closed which we don't want to see anymore.
A fix to this is to make a event listener on the toast and once clicked it removes it self from the dom?
Tolfx commented
This issue is fixed in dev
branch.