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] OverLay 中的lock-scroll属性和close-on-click-overlay属性不生效 #935

Closed
provenceo opened this issue Jan 10, 2022 · 3 comments
Assignees

Comments

@provenceo
Copy link

provenceo commented Jan 10, 2022

问题描述

OverLay 中的lock-scroll属性和close-on-click-overlay属性不生效

最小可复现仓库

请创建最小可复现代码,并上传到你的 GitHub 仓库

预期的行为和实际行为

无任何效果

复现步骤,具体代码

套餐商品
<script> export default { name: "OverLay", data(){ return{ OverLayShow:true } }, } </script>

相关环境信息

  • 操作系统:win11 x64
  • Node 版本:14.18.1
  • NutUI 版本: "@nutui/nutui-taro": "^3.1.14",
  • Vue 版本: @vue/cli 4.5.15
  • 引用方式: npm/yarn
@provenceo
Copy link
Author

image

@szg2008 szg2008 self-assigned this Jan 10, 2022
@szg2008 szg2008 added this to 3.1.15 in nutui-vue-previous 2021 Jan 10, 2022
@szg2008
Copy link
Contributor

szg2008 commented Jan 18, 2022

close-on-click-overlay测了一下,属性是生效的。锁定禁止滑动,需要自己拿到外层容器,然后添加style使其禁止。目前组件无法做到

@provenceo
Copy link
Author

@szg2008 #950 这个麻烦看下呗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants