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: 使用dumi-theme-mobile
引入ant-mobile-v5
的Picker
组件不能拖动
#996
Comments
cc @xiaohuoni |
单独打开这个例子,在PC的浏览器上,调成移动端的模拟器就可以正常拖动,初步分析应该是引入的 |
然后 然而, 然后, 然后, 综上,我猜测原因应该是, |
本来就是用来做pc上模拟touch事件的 |
原因没这么复杂,就是 picker 的弹窗是直接挂载在 body 上的,这个监听只绑定到指定 dom 下面。 |
@yangdepp 代码合并的时候,让ci关闭比较好。万一修复的代码,没合并,这个就不算解决。 |
Versions
Steps to reproduce
dumi-theme-mobile
的主题放在本地,发现只要注释下面的代码就可以恢复正常theme-mobile/src/layouts/demo.tsx
第30行The text was updated successfully, but these errors were encountered: