为什么在企业微信端,安卓的input focus 状态下会有位置偏移?

企业微信 文章 2022-03-15 22:40 471 0 全屏看文

AI助手支持GPT4.0

为什么在企业微信端,安卓的input focus 状态下会有位置偏移?Why is there a position offset in the Android input focus state on the enterprise WeChat side?

为什么在企业微信端,安卓的input focus 状态下会有位置偏移?

https://developers.weixin.qq.com/miniprogram/dev/component/input.html

直接用的是官网的示例,在微信端正常展示,但在企业微信端会有问题


SDKVersion: "2.19.2"abi: "arm64-v8a"benchmarkLevel: 0bluetoothEnabled: falsebrand: "HUAWEI"cameraAuthorized: truedeviceOrientation: "portrait"devicePixelRatio: 3enableDebug: trueenvironment: "wxwork"errMsg: "getSystemInfo:ok"fontSizeSetting: 16host: Objectlanguage: "zh_CN"locationAuthorized: truelocationEnabled: truemicrophoneAuthorized: truemodel: "EML-AL00"notificationAuthorized: falsepixelRatio: 3platform: "android"safeArea: ObjectscreenHeight: 748screenTop: 77screenWidth: 360statusBarHeight: 29system: "Android 9"theme: "light"version: "8.0.7"weixinVersionCode: 2100weixinVersionName: "8.0.20"wifiEnabled: truewindowHeight: 672windowWidth: 360__proto__: Object

https://developers.weixin.qq.com/miniprogram/dev/component/input.html 直接用的是官网的示例,在微信端正常展示,但在企业微信端会有问题 SDKVersion: "2.19.2"abi: "arm64-v8a"benchmarkLevel: 0bluetoothEnabled: falsebrand: "HUAWEI"cameraAuthorized: truedeviceOrientation: "portrait"devicePixelRatio: 3enableDebug: trueenvironment: "wxwork"errMsg: "getSystemInfo:ok"fontSizeSetting: 16host: Objectlanguage: "zh_CN"locationAuthorized: truelocationEnabled: truemicrophoneAuthorized: truemodel: "EML-AL00"notificationAuthorized: falsepixelRatio: 3platform: "android"safeArea: ObjectscreenHeight: 748screenTop: 77screenWidth: 360statusBarHeight: 29system: "Android 9"theme: "light"version: "8.0.7"weixinVersionCode: 2100weixinVersionName: "8.0.20"wifiEnabled: truewindowHeight: 672windowWidth: 360__proto__: Object

回答:

余梓π:

感觉是更新了企微新版本4.0.2出现的问题,点两下才弹出键盘,设置数字键盘都不生效了

Cynthia:之前还好好的,就这两天突然发现偏移了,点击那个问题也是~
谭成钢:麻将
Cynthia:

-EOF-

AI助手支持GPT4.0