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

🐛[BUG] ProLayout移动端抽屉开启后页面仍然能向下滚动 #8748

Open
xiaoqiang1999 opened this issue Sep 29, 2024 · 2 comments
Open

Comments

@xiaoqiang1999
Copy link

xiaoqiang1999 commented Sep 29, 2024

🐛 bug 描述

ProLayout 组件,在移动端,打开抽屉后页面仍然能够向下滚动内容,并且抽屉会跟随滚动,导致显示异常,如图。

Snipaste_2024-09-29_17-01-33

📷 复现步骤

Sandbox 复现 demo 地址

🏞 期望结果

打开抽屉后禁止页面滚动

💻 复现代码

Sandbox 复现 demo 地址

© 版本信息

  • ProComponents 版本: [2.7.19]
  • 浏览器环境:Chrome、Edge、Android WebView 均可复现
  • 开发环境 [Windows]

🚑 其他信息

@zhu0629
Copy link

zhu0629 commented Oct 12, 2024

早就提了,一直没修复。

#8413

@zhu0629
Copy link

zhu0629 commented Oct 15, 2024

/* fix drawer mask display issue when menu expanded on mobile devices */
.ant-drawer {
  .ant-drawer-mask {
    position: fixed;
  }

  .ant-drawer-content-wrapper {
    position: fixed;
  }
}

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