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

Black background style not removed from body element after drawer is closed #228

Closed
linden-dg opened this issue Jan 23, 2024 · 2 comments
Closed

Comments

@linden-dg
Copy link

As you can see in this example - https://codesandbox.io/p/devbox/drawer-with-scale-forked-wjjcx6

If you use the shouldScaleBackground property, the black background style is applied to the body element, but not removed after the drawer is closed.

It would also be great if there was an option to use shouldScaleBackground without changing the body background color.

@KajSzy
Copy link
Contributor

KajSzy commented Jan 25, 2024

Duplicate #188

@emilkowalski
Copy link
Owner

Fixed in #232.

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

No branches or pull requests

3 participants