From f69aeb8488969ac89aa0685390090e04523da543 Mon Sep 17 00:00:00 2001 From: J Paterson Date: Mon, 6 Jan 2020 14:44:39 -0800 Subject: [PATCH] [core] fix(Toast): bottom toasts exit in the correct direction (#3911) Fixes #3791 --- packages/core/src/components/toast/_toast.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/components/toast/_toast.scss b/packages/core/src/components/toast/_toast.scss index a610a0c531..7e4b13d02b 100644 --- a/packages/core/src/components/toast/_toast.scss +++ b/packages/core/src/components/toast/_toast.scss @@ -198,6 +198,7 @@ $toast-margin: $pt-grid-size * 2 !default; &.#{$ns}-toast-enter:not(.#{$ns}-toast-enter-active) ~ .#{$ns}-toast, &.#{$ns}-toast-appear:not(.#{$ns}-toast-appear-active), &.#{$ns}-toast-appear:not(.#{$ns}-toast-appear-active) ~ .#{$ns}-toast, + &.#{$ns}-toast-exit-active ~ .#{$ns}-toast, &.#{$ns}-toast-leave-active ~ .#{$ns}-toast { transform: translateY($toast-margin + $toast-height); }