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(ComposedModal): remove bx--body--with-modal-open from body classes after destroy #348

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

weaseldotro
Copy link
Contributor

When onMount is async, the returned function is not executed: sveltejs/svelte#4927
Because the class is not remove from the body, the code should be moved to a onDestroy function.

…s after destroy

When onMount is async, the returned function is not executed: sveltejs/svelte#4927
Because the class is not remove from the body, the code should be moved to a onDestroy function.
@weaseldotro weaseldotro requested a review from metonym as a code owner October 20, 2020 08:09
@vercel
Copy link

vercel bot commented Oct 20, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carbon-svelte/carbon-components-svelte/edhw0zk3z
✅ Preview: https://carbon-components-svelte-git-patch-1.carbon-svelte.vercel.app

Copy link
Collaborator

@metonym metonym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for fixing this

@metonym metonym merged commit 350aad8 into carbon-design-system:master Oct 20, 2020
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.

2 participants