scenius-software / angular-toastify

A somewhat minimalistic clone of React Toastify.
https://scenius-software.github.io/angular-toastify/
14 stars 4 forks source link

Toast comes and disappears immediately #17

Closed kirantrathod closed 2 days ago

Lerke commented 3 years ago

@kirantrathod I'd like to look into this for you. Do you have a small example that triggers this behaviour?

dplamenov commented 2 years ago

I have same problem.

Lerke commented 2 years ago

@dplamenov Hi, I'd like to solve this for you, but haven't been able to trigger this myself. Do you have a small working example of this bug?

dplamenov commented 2 years ago

@dplamenov Hi, I'd like to solve this for you, but haven't been able to trigger this myself. Do you have a small working example of this bug?

I saw where the problem was and solved it. We use Bootstrap and it has css class toast with opacity: 0. I guess the problem with @kirantrathod is the same. Thank you!

Lerke commented 2 years ago

Thanks @dplamenov . I think we should probably not use generic names like toast, but prefix the classes we use with angular-toastify. Will do that in a future update.

dplamenov commented 2 years ago

Thanks @dplamenov . I think we should probably not use generic names like toast, but prefix the classes we use with angular-toastify. Will do that in a future update.

That will be good.

Lerke commented 2 days ago

This is an old issue, but starting from npm release 2.0.0-dev1 this should now be resolved. Please re-open if not the case.