-
Notifications
You must be signed in to change notification settings - Fork 834
[bug]Taro Vue3 微信小程序 TimeSelect 组件,detail和panel高度过高时无法滑动 #1343
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
Comments
Dialog 也有这个问题,内容过多时候,无法滚动 |
无法滚动的原因是在popup中增加了catch-move。目前的解决办法,视情况而定,如果弹层中的内容需要滚动,那么需要先设置lock-scroll:false。然后在外层手动设置样式禁止滚动。看这里。如果弹层中的内容不需要滚动,那么直接设置lock-scroll:true即可。dialog,timeselect组件可以这样设置。picker,datepicker不需要,因为内部已经绑定了touch事件。timeselect在下一个版本会增加lock-scroll属性。 |
先使用 3.1.20 版本,3.1.20版本没有这个问题 |
可以的 |
menu-item也不能滚动,需要怎么解决 |
设置 lock-scrol 以后会出现 左右滚动的情况 |
问题描述
Taro Vue3 微信小程序,使用 timeselect 配送时间组件,设置多个可选时间,超过 Popup 高度,无法滑动,timeDetail 和 TimePannel 都存在这个问题。
最小可复现仓库
预期的行为和实际行为
预期行为:可以滚动
实际行为:鼠标可以滚动,滑动 popup 不能滚动
复现步骤,具体代码
弹窗出现后,无法滑动
相关环境信息
The text was updated successfully, but these errors were encountered: