a***@yiquhudong.com
a***@yiquhudong.com
  • 发布:2022-09-20 15:16
  • 更新:2022-09-20 16:25
  • 阅读:327

【报Bug】textarea组件无法点击输入调起键盘

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

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

HBuilderX类型: 正式

HBuilderX版本号: 3.6.3

手机系统: iOS

手机系统版本号: iOS 15

手机厂商: 苹果

手机机型: iPhone11

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
<template>  
    <view class="content">  
        <view class="text-area">  
            <text class="title">{{title}}</text>  
        </view>  

        <textarea class="aa1" :value="content" placeholder="这里测试下vue3-textarea">  

        </textarea>  

    </view>  
</template>  

<script>  
    export default {  
        data() {  
            return {  
                title: 'Hello',  
                content:""  
            }  
        },  
        onLoad() {  

        },  
        methods: {  

        }  
    }  
</script>  

<style>  
    .content {  
        display: flex;  
        flex-direction: column;  
        align-items: center;  
        justify-content: center;  
    }  

    .logo {  
        height: 200rpx;  
        width: 200rpx;  
        margin-top: 200rpx;  
        margin-left: auto;  
        margin-right: auto;  
        margin-bottom: 50rpx;  
    }  

    .text-area {  
        display: flex;  
        justify-content: center;  
    }  

    .title {  
        font-size: 36rpx;  
        color: #8f8f94;  
    }  

    .aa1{  
        width: 500rpx;  
        height: 400rpx;  
        margin-top: 30rpx;  
        background-color: #f00;  
    }  
</style>  

操作步骤:

使用3.6.3打包自定义基座,运行在ios真机上,可看到textarea无法点击

预期结果:

使用3.6.3打包自定义基座,运行在ios真机上,textarea恢复以前的效果

实际结果:

使用3.6.3打包自定义基座,运行在ios真机上,textarea组件无法点击

bug描述:

使用textarea组件实现多行文本,发现根本无法点击输入调起键盘。

2022-09-20 15:16 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

HX3.6.3 IOS15,iPhone 6s Plus,自定义基座测试未复现问题。以上示例新建项目重新打包试下,若复现提供录屏(上传附件)【bug优先处理规则】https://ask.dcloud.net.cn/article/38139

a***@yiquhudong.com

a***@yiquhudong.com (作者)

我这个就是直接创建的项目,去掉了logo显示,打包后发现textarea无法使用

a***@yiquhudong.com

a***@yiquhudong.com (作者)

低版本没有这个问题,更新后使用vue3发现的

a***@yiquhudong.com

a***@yiquhudong.com (作者)

这个是3.6.3+vue2版本的效果

要回复问题请先登录注册