通过浮窗进入小程序,movable-view中的元素点击不到,也不能拖拽

发布于 7 年前作者 guiyingzhou2457 次浏览最后编辑 7 年前来自 issues

<!-- 可拖动的浮层 –>

<movable-area style=“height: 85vh;width: 100vw;position: fixed;top:10%;left: 0;bottom: 0;right:0;margin: auto;pointer-events: none;z-index: 13;”>

   <movable-view style=“width: 56px;height: 56px;pointer-events: auto;” direction=“all” x=“300” y=“100”>

       <view class=“box” bindtap=“tapBox”></view>

   </movable-view>

</movable-area>

手机型号:华为P20 Pro, OPPO Reno

通过浮窗进入小程序,movable-view中的元素点击不到,也不能拖拽:是小程序本身的兼容性问题吗?

通过其他方式进入小程序,元素可以正常点击,也可以拖拽

1 回复
xuguiying
xuguiying1 楼5 年前

这边测试正常的

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html