alexcrack / alexcrack/angular-ui-notification

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

Ouverte
#104 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
529
Forks
164
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.