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

「疑问」popup 的 lock-scroll 到底支不支持? #2310

Closed
wenfangdu opened this issue May 28, 2023 · 4 comments · Fixed by #2311
Closed

「疑问」popup 的 lock-scroll 到底支不支持? #2310

wenfangdu opened this issue May 28, 2023 · 4 comments · Fixed by #2311

Comments

@wenfangdu
Copy link
Contributor

小程序版的 nutui 文档上写着支持:
image
实际用没效果,看了几个相关 issue:#935 #1282,都是说不支持,需要自己实现,既然不支持,那就把文档上这个属性去掉吧。

@eiinu eiinu added invalid This doesn't seem right Need Reproduce 需要提供可复现的代码用于问题排查 labels May 28, 2023
@github-actions
Copy link

你好 @wenfangdu, 我们需要你提供一个最小重现实例以便于我们帮你排查问题。你可以提供一个基于 Taro NutUI4.0 模板项目的 GitHub 仓库链接(@nutui/nutui-taro),也可以通过 CodeSandbox 创建一个在线实例(@nutui/nutui)。请确保选择准确的版本。

@eiinu
Copy link
Member

eiinu commented May 28, 2023

Popup 内部使用 catchMove 实现了阻止滚动穿透。
微信开发者工具中需要测试鼠标点击后滑动,如果使用鼠标滚轮滚动是没有效果的。

@wenfangdu
Copy link
Contributor Author

@eiinu 是不是代码重构的时候给去掉了?PR 里是有的
image
image

@wenfangdu
Copy link
Contributor Author

@eiinu 试试 #2311 行不

@eiinu eiinu removed invalid This doesn't seem right Need Reproduce 需要提供可复现的代码用于问题排查 labels May 28, 2023
@eiinu eiinu linked a pull request May 28, 2023 that will close this issue
15 tasks
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

Successfully merging a pull request may close this issue.

2 participants