Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Replacing one BannerMessage notification with another causes incorrect CSS transition #314

Open
pfaffle opened this issue Oct 9, 2018 · 0 comments

Comments

@pfaffle
Copy link
Collaborator

pfaffle commented Oct 9, 2018

The CSS transition which is meant to provide the "slide-out" behavior when you dismiss a BannerMessage notification has an unintended effect if you immediately replace it in the DOM with a different notification. If the notifications have different types (e.g. info, success), the color of the notification is transitioned instead.

Presumably the correct behavior is for the first notification to slide out and then the second will slide in?
notifications_bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant