react-notification-system icon indicating copy to clipboard operation
react-notification-system copied to clipboard

New notifications at the top of the list

Open karimjamal opened this issue 9 years ago • 2 comments

I'm using a position of 'tr' (top right) for the notification list. As new notifications come in, they are added to the bottom of the list.

What would be useful is an option so that new notifications would be added to the top of the list and the other notifications would be shifted down. Is that currently possible or in the works?

karimjamal avatar Aug 04 '16 15:08 karimjamal

Right now it's not possible due the order of the elements on each container and the css positions.

igorprado avatar Aug 04 '16 17:08 igorprado

Right now it's not possible due the order of the elements on each container and the css positions.

Have you considered using flexbox in the notifications container so the order of the children can be modified by CSS?

ibc avatar Sep 06 '16 13:09 ibc