Skip to content

Duplication of last alert when dismissing an alert #40

@troxler

Description

@troxler

When showing multiple alerts and adding animation, there is a very strange behavior when dismissing an alert. Somehow it completely removes the alert HTML that was dismissed but instead duplicates the last alert in the list.

Steps to reproduce:

  • Add an animation to the alerts by using .alerts {transition: all 5000ms ease-out;}
  • Add multiple alerts
  • Dimiss the first alert

For example: Add the alerts info1 and info2. When dismissing info1 it is instantly removed from the HTML, but instead the DOM shows info2 and a duplicated info2.

Tested with angular 1.5.8 and angular-flash-alert 2.3.0.

This might be related to the fix of #21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions