We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
小程序基础库: 3.0.2 使用框架: React
View
<View cacthMove className='mask'></View>
catchMove
div
<div cacthMove className='mask'></div>
cacthMove 可以使用在 HTML 标签上
cacthMove
cacthMove 使用在 HTML 标签时,无法阻止滚动穿透
Taro CLI 3.6.17 environment info: System: OS: macOS 12.7 Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.12.1 - ~/n/bin/node Yarn: 3.3.1 - ~/n/bin/yarn npm: 8.19.2 - ~/n/bin/npm npmPackages: @tarojs/cli: 3.6.17 => 3.6.17 @tarojs/components: 3.6.17 => 3.6.17 @tarojs/helper: 3.6.17 => 3.6.17 @tarojs/plugin-framework-react: 3.6.17 => 3.6.17 @tarojs/plugin-html: 3.6.17 => 3.6.17 @tarojs/plugin-platform-alipay: 3.6.17 => 3.6.17 @tarojs/plugin-platform-h5: 3.6.17 => 3.6.17 @tarojs/plugin-platform-jd: 3.6.17 => 3.6.17 @tarojs/plugin-platform-qq: 3.6.17 => 3.6.17 @tarojs/plugin-platform-swan: 3.6.17 => 3.6.17 @tarojs/plugin-platform-tt: 3.6.17 => 3.6.17 @tarojs/plugin-platform-weapp: 3.6.17 => 3.6.17 @tarojs/plugin-react-devtools: 3.6.17 => 3.6.17 @tarojs/react: 3.6.17 => 3.6.17 @tarojs/router: 3.6.17 => 3.6.17 @tarojs/runtime: 3.6.17 => 3.6.17 @tarojs/shared: 3.6.17 => 3.6.17 @tarojs/taro: 3.6.17 => 3.6.17 @tarojs/taro-h5: 3.6.17 => 3.6.17 @tarojs/webpack5-runner: 3.6.17 => 3.6.17 babel-preset-taro: 3.6.17 => 3.6.17 eslint-config-taro: 3.6.17 => 3.6.17 react: 18.2.0 => 18.2.0
业务场景:使用 HTML 编写遮照层,弹出遮照层可以防止滚动底部内容。
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
相关平台
微信小程序
小程序基础库: 3.0.2
使用框架: React
复现步骤
View
组件写一个遮照层<View cacthMove className='mask'></View>
。(catchMove
可以阻止滚动穿透)View
替换为div
。即为<div cacthMove className='mask'></div>
。(catchMove
无效,可以滚动穿透)期望结果
cacthMove
可以使用在 HTML 标签上实际结果
cacthMove
使用在 HTML 标签时,无法阻止滚动穿透环境信息
补充信息
业务场景:使用 HTML 编写遮照层,弹出遮照层可以防止滚动底部内容。
The text was updated successfully, but these errors were encountered: