Version: 3.xOn this pageTaro.onKeyboardHeightChange(callback)监听键盘高度变化支持情况: 参考文档类型(callback: Callback) => voidCopy参数参数类型callbackCallbackCallback(result: CallbackResult) => voidCopy参数类型resultCallbackResultCallbackResult参数类型说明heightnumber键盘高度示例代码Taro.onKeyboardHeightChange(res => { console.log(res.height)})Copy