2***@qq.com
2***@qq.com
  • 发布:2022-01-25 11:17
  • 更新:2022-01-25 11:30
  • 阅读:715

【报Bug】uniapp 编译后 movable-view 无法移动,原生小程序是可以移动的

分类:uni-app

产品分类: uniapp/小程序/QQ

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX类型: 正式

HBuilderX版本号: 3.3.5

第三方开发者工具版本号: 0.3.3

基础库版本号: 1.46.5

项目创建方式: HBuilderX

示例代码:
<template>  
    <view class="container">  
        <canvas class="abs_max" canvas-id="myCanvas" id="myCanvas"></canvas>  
        <movable-area class="abs_max" >  
            <movable-view  
                style="height: 50px; width: 50px; background: blue;"  
                x="0"  
                y="0"  
                direction="all"  
            ></movable-view>  
        </movable-area>  
    </view>  
</template>  

<script>  
    export default {  
        data() {  
            return {  
            };  
        },  
        async onLoad() {  
        },  
        methods: {  
        }  
    }  
</script>  

<style lang="scss">  
    .container {  
        width: 100%;  
        height: 100%;  
    }  
    .abs_max {  
        position: absolute; width: 100%; height: 100%; left: 0; top: 0;  
    }  
    movable-area {  
        background-color: rgba(0,0,0,0.4)  
    }  
</style>  

操作步骤:

点击 movable-view 移动(那个蓝色的块)

预期结果:

在IOS手机上能移动

实际结果:

在IOS无反应

bug描述:

编译后 编译后的 movable-view 在 ios 手机无法移动,但原生小程序 写的是可以移动的。
备注:
安卓手机能正常使用。
QQ版本:8.8.50.617。
IOS 手机型号 iphone X , 版本 14.6。
已添加代码附件。

2022-01-25 11:17 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

请上传能重现问题的测试工程

  • 2***@qq.com (作者)

    请问在哪里上传呢

    2022-01-25 11:25

BoredApe

BoredApe - 有问题就会有答案。

富文本左下角 【上传附件】

2***@qq.com

2***@qq.com (作者) - cc

包里有 原生小程序代码 以及uniapp项目工程包

该问题目前已经被锁定, 无法添加新回复