TW-Elements
TW-Elements copied to clipboard
[Alert] Element is not removed from the page when auto-closed after delay
It looks to me that when an alert is automatically dismissed it gets hidden, but still stays on the page.
The close.te.alert nor closed.te.alert are being invoked in this case. So, there's no way I could do the cleanup myself.
If I dismiss the alert using the dismiss button, the element gets removed from the page as expected.
So, is it a bug? Possible solutions:
- invoke the events
- remove the element automatically (maybe as an option).
Or am I missing something?
Hi, it works by design, the autohide option only hide element, but we will add a new option for this soon.