Skip to content

Fix KeyboardHelper callback logic#242

Open
minkiapps wants to merge 1 commit intoaustrianredcross:developfrom
minkiapps:bugfix/keyboard-helper-logic
Open

Fix KeyboardHelper callback logic#242
minkiapps wants to merge 1 commit intoaustrianredcross:developfrom
minkiapps:bugfix/keyboard-helper-logic

Conversation

@minkiapps
Copy link
Copy Markdown

Issue

On some Huawei models (GMS and HMS), the diff val diff = height - visibleDisplayFrame.bottom doesn't result in 0 if keyboard is hidden, so the callback onKeyboardHidden() is never called, which results into some action buttons (e.g. in report fragment) never show up.

Changes

Use a refined logic to determine is keyboard is shown or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant