s***@sina.com
s***@sina.com
  • 发布:2025-03-27 16:40
  • 更新:2025-06-23 11:30
  • 阅读:158

【报Bug】uni-app 安卓平台 uni.onKeyboardHeightChange() 在自定义基座上不触发

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 4.23

手机系统: Android

手机系统版本号: Android 14

手机厂商: 华为

手机机型: HUAWEI P40

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
    onLoad() {  
        uni.onKeyboardHeightChange(res => {  
            console.log(res,'resresresresres')  
            // this.handleKeyboardChange(res.height);  
        });  

    },

操作步骤:
    onLoad() {  
        uni.onKeyboardHeightChange(res => {  
            console.log(res,'resresresresres')  
            // this.handleKeyboardChange(res.height);  
        });  

    },

预期结果:

uni-app 安卓平台 uni.onKeyboardHeightChange() 在自定义基座上不触发,直接就是不执行

实际结果:

uni-app 安卓平台 uni.onKeyboardHeightChange() 在自定义基座上不触发,直接就是不执行

bug描述:

uni-app 安卓平台 uni.onKeyboardHeightChange() 在自定义基座上不触发,直接就是不执行

2025-03-27 16:40 负责人:无 分享
已邀请:
4***@qq.com

4***@qq.com

我也是这个问题 请问解决了吗?

要回复问题请先登录注册