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

Opening the drawer and then opening a modal.When the modal is closed,the scroll bar disappears.先开一个drawer再开一个modal,modal关闭时,页面滚动条消失 #21894

Closed
1 task
racargx opened this issue Mar 5, 2020 · 4 comments · Fixed by #25273
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive

Comments

@racargx
Copy link

racargx commented Mar 5, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.click ‘Open’
2.click ‘Open Modal’
3. close modal
4. scroll bar disappears

What is expected?

scroll bar exists

What is actually happening?

scroll bar disappears

Environment Info
antd 3.26.12
React 16.4.1
System windows
Browser chrome 73.0.3683.75

现在的业务需求没法升级到antd4.0,希望能在3.X版本上解决这个问题

@epx-nathan
Copy link

I'm also experiencing this issue in our code base, which uses a lot of drawers + nested modals. I've attempted various workarounds but the various settings of overflow: hidden are very persistent. Happy to provide screenshots / videos of the behavior, if that would be helpful! Would love to have this resolved.

@jljsj33
Copy link
Member

jljsj33 commented Jun 8, 2020

我日,不要把问题搞混了,,这是两个问题....

@jljsj33 jljsj33 reopened this Jun 8, 2020
@jljsj33
Copy link
Member

jljsj33 commented Jun 8, 2020

#21539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants