Foxandxss / angular-toastr

Angular port of CodeSeven/toastr.
http://foxandxss.github.io/angular-toastr/
MIT License
1.3k stars 276 forks source link

Animations only for the first toast #121

Closed razvanz closed 9 years ago

razvanz commented 9 years ago

I don't get animations for any toasts after the fist one. Upon inspection it seems that the animation classes are not added.

The config:

{
        autoDismiss: true,
        extendedTimeOut: 3000,
        maxOpened: 2,
        newestOnTop: true,
        positionClass: 'toast-top-full-width',
        preventOpenDuplicates: false,
        tapToDismiss: true,
        templates: {
          toast: 'app/templates/toast.html'
        },
        timeOut: 5000
}

angular: 1.4.4

Foxandxss commented 9 years ago

Can I have a reproduction in a plunker?

razvanz commented 9 years ago

There's the plunker. The behavior seems not to be influenced by the options. It's default. With default style / animation it isn't that noticeable, but it becomes an issue when customized.

Foxandxss commented 9 years ago

I see that, it only happens on 1.4.4. Will check.

Foxandxss commented 9 years ago

@razvanz Seems like it is a bug and it will be fixed for 1.4.5

razvanz commented 9 years ago

Great :+1:

aosi87 commented 9 years ago

Same here but on branch for angular 1.2.X

Foxandxss commented 9 years ago

@aosi87 I would need to see that in a plunker.

Foxandxss commented 9 years ago

1.4.5 is out so this should be fixed. If there is still a 1.2.x bug I would like a new issue with a repro.

eliashdezr commented 8 years ago

Getting this issue with Angular v1.4.9

Foxandxss commented 8 years ago

I need a repro and put it on a new issue.

Thanks.