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?