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
widonws 11, ios
1.7.2
2.15.0
https://github.com/github-gordon/test_code/blob/main/1.txt
van-popup中的内容超出容器无法触摸滚动,只能鼠标滚轮滚动。
The text was updated successfully, but these errors were encountered:
popup本身显示的时候就是禁止滚动的,他的遮罩层是使用的 <overlay /> 组件实现的,而 overlay 内部有 catch:touchmove="noop"
<overlay />
catch:touchmove="noop"
如果你希望高度可以显示的正常点,可以
<van-popup show="{{ true }}" custom-style="height: 20%" > 内容 </van-popup>
这个example在文档上有类似的
Sorry, something went wrong.
popup本身显示的时候就是禁止滚动的,他的遮罩层是使用的 <overlay /> 组件实现的,而 overlay 内部有 catch:touchmove="noop" 如果你希望高度可以显示的正常点,可以 <van-popup show="{{ true }}" custom-style="height: 20%" > 内容 </van-popup> 这个example在文档上有类似的
我现在需要的是能滚动的效果,这个popup就不能支持了么
通过修改 lock-scroll 控制是否禁止滚动, 1.8.3 将会支持
lock-scroll
1.8.3
1.8.3新增lock-scroll属性
No branches or pull requests
设备
widonws 11, ios
VantWeapp 版本
1.7.2
基础库版本
2.15.0
请提供核心代码片段链接
https://github.com/github-gordon/test_code/blob/main/1.txt
描述问题
van-popup中的内容超出容器无法触摸滚动,只能鼠标滚轮滚动。
The text was updated successfully, but these errors were encountered: