Skip to content

Conversation

@pollen8
Copy link

@pollen8 pollen8 commented Aug 9, 2016

…, rather than removeNotification() which applies animation. Useful when a loading and a success message follow each other in quick succession, as the loading notificaitons animation had not yet terminated, causing an odd slide in and down to occur

Robert Clayburn added 2 commits August 9, 2016 11:32
…, rather than removeNotification() which applies animation. Useful when a loading and a success message follow each other in quick succession, as the loading notificaitons animation had not yet terminated, causing an odd slide in and down to occur
@laurentlaporte
Copy link

I really need this too

@igorprado
Copy link
Owner

Sorry the delay on this. @pollen8 can you doc this on README too?

this.state.notifications.forEach(function(item, index) {
if (item.uid === uid) {
self.state.notifications.splice(index, 1);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must never ever edit the state w/o setState.

@nealoke
Copy link

nealoke commented Mar 23, 2017

@igorprado Will this also be in the 1.0.0 version? Would be a great addition

}
});
}
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants