react-notification-system
react-notification-system copied to clipboard
clearNotifications does not really remove all notifications
When more than 1 notifications are there and we call clearNotifications(), it does not really remove the notification but only changes the heights to 0 which actually occupy some space and also blocks a part of screen when number of notifications is large. When removeNotification() is called, it simply deletes the notification div which is expected.