alexcrack / alexcrack/angular-ui-notification

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

Offen
#104 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
529
Forks
164
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.