alexcrack / alexcrack/angular-ui-notification

Changing time on css doesn't destroy notification element on body

Aperta
#104 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
529
Fork
164
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I was modifying your css to match my page styles and I noticed if I change the time inside `.ui-notification.killed` will make the element not being destroyed from the body.

This is the time I'm updating:

```
.ui-notification.killed {
/* This one doesn't work */
-webkit-transition: opacity ease 350ms;
-o-transition: opacity ease 350ms;
transition: opacity ease 350ms;
opacity: 0;
}
```

I've made a plunkr to demonstrade this problem: http://plnkr.co/edit/42f1DFpCJeH02oRqFzOi

Click the button then inspect the html, notice how the ui-notification html element is still on the page after it fades out the animation.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.