Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyboardUtils.registerSoftInputChangedListener回调高度的问题 #1818

Open
developerzjy opened this issue Aug 6, 2024 · 0 comments
Open
Assignees
Labels

Comments

@developerzjy
Copy link

developerzjy commented Aug 6, 2024

在部分鸿蒙手机上,registerSoftInputChangedListener注册监听后就立即回调且height不是0(此时还没显示键盘呢)
我目前的临时解决办法是:判断如果是初始注册的时候的回调,就记录回调的最大高度,后续显示键盘的时候回调后减去初始记录的最大高度。

请问库本身有修复方案吗,看代码有个fixAndroidBug5497的bug,这个是修复什么的,在issue里面搜不到 #5497 呢

我用的库版本是1.31.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants