You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, currently notifications will pile on top of one another... Is there a way to display a max of 1 notification at a time? In this particular use case, if one notification is still showing, it would be instantly removed and then the new notification would be shown.
I tried that by doing:
dispatch(removeAll());
dispatch(info({....
The problem with the above is the animations cause some crazy jumpiness and isn't very smooth. The removeAll seems to animate the removal which is the problem vs being instantly removed so the new notification can animated in nicely.
Thanks
The text was updated successfully, but these errors were encountered:
I was having same issue. What I wanted was notification should have appeared based on id.
If I provide same id again then particular notification should have updated. This is not supported by is parent application react-notification-system. So I wrote its extension. Here is the demo. It may probably help you.
Hello, currently notifications will pile on top of one another... Is there a way to display a max of 1 notification at a time? In this particular use case, if one notification is still showing, it would be instantly removed and then the new notification would be shown.
I tried that by doing:
The problem with the above is the animations cause some crazy jumpiness and isn't very smooth. The removeAll seems to animate the removal which is the problem vs being instantly removed so the new notification can animated in nicely.
Thanks
The text was updated successfully, but these errors were encountered: