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

先打开一个drawer,再打开drawer中的modal,关闭modal,关闭drawer,再打开另一个modal,关闭后body无法滚动 #23609

Closed
1 task
KaiEi1020 opened this issue Apr 26, 2020 · 1 comment

Comments

@KaiEi1020
Copy link

KaiEi1020 commented Apr 26, 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. 点击open drawer按钮
    1. 点击抽屉中的open modal1按钮,
    1. 关闭modal1
    1. 关闭抽屉
    1. 点击open modal2按钮
    1. 关闭modal2
    1. body无法滚动

What is expected?

如上操作后能正常滚动

What is actually happening?

不能滚动

Environment Info
antd 4.1.5
React 16.13.1
System mac
Browser chrome

请认真阅读操作步骤,该问题与其他问题未重复

@afc163
Copy link
Member

afc163 commented Apr 26, 2020

本质上和 #21894 是相同的原因导致,可以到 #21894 下面补充信息和跟进,当然欢迎直接 PR。

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

2 participants