alexcrack / alexcrack/angular-ui-notification

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

未关闭
#104 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
529
派生
164
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。