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

Modal/Drawer adds additional spacing to the body element #8261

Open
1 of 3 tasks
pnarielwala opened this issue Feb 6, 2024 · 0 comments
Open
1 of 3 tasks

Modal/Drawer adds additional spacing to the body element #8261

pnarielwala opened this issue Feb 6, 2024 · 0 comments

Comments

@pnarielwala
Copy link

Description

When I have a "margin-top" spacing to the body element and open a drawer, I expect to not have the page shift down but the page doubles the top spacing

Link to Reproduction

https://codesandbox.io/p/sandbox/keen-satoshi-dj8t3t

Steps to reproduce

  1. Click on "Open" button
  2. Notice the drawer open but the page shifts down

Chakra UI Version

2.8.2

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

CleanShot.2024-02-06.at.14.38.56.mp4
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

1 participant