Open dharmesh-khandelwal opened 8 years ago
@minhtranite Is there any way to prevent duplicate notifications?
@minhtranite Can you please provide a solution to this ? I am using this module to display the error notifications in case of ajax call failures...however when i make multiple calls, multiple notifications pop-up. Can you provide a way to programatically remove notifications ? Perhaps an implementation of remove() method ? Please respond ASAP.
Use a debounce
function
[edit] like this one :) https://gist.github.com/nmsdvid/8807205
Use a
debounce
function[edit] like this one :) https://gist.github.com/nmsdvid/8807205
How to use debounce in this package?
@vn38minhtran I am using react-notification in form validation to show an error message e.g. "Invalid email". The issue is, if a person keeps on clicking on the submit button, the notification keeps on popping up. Is there a way to prevent duplicate notification from showing up? Thanks.