alexcrack / alexcrack/angular-ui-notification

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

Đang mở
#104 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
529
Fork
164
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.