Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Toast): fix fade animation #6004

Merged
merged 1 commit into from
Sep 2, 2021
Merged

fix(Toast): fix fade animation #6004

merged 1 commit into from
Sep 2, 2021

Conversation

kyletsang
Copy link
Member

Fixes #5998

Bootstrap changed the classes used for the fade animation in toasts. The opacity is now set in a class called showing.

https://github.com/twbs/bootstrap/blob/d9254c64fa10f465a671a47ce40779807f092f5a/scss/_toasts.scss#L13-L19

Unfortunately I couldn't make it work with the existing Fade component since the classes in each transition phase are not compatible with each other. The fade animation for toasts are now in a component called ToastFade

@kyletsang kyletsang requested a review from jquense August 29, 2021 19:40
@kyletsang kyletsang merged commit 0237a14 into master Sep 2, 2021
@kyletsang kyletsang deleted the fix/toast-animation branch September 2, 2021 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toast animations do not work with the latest build
2 participants