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

KeyboardService.visibleHeightProperty() doesn't get updated after screen unlock #382

Open
41zu opened this issue Oct 24, 2023 · 1 comment

Comments

@41zu
Copy link

41zu commented Oct 24, 2023

OS: Android 13
Device: Samsung Note 20 Ultra 5G
Attach version: 4.0.19

When the keyboard is shown, and the device is locked and then unlocked, the keyboard initially remains visible but quickly disappears, and the visibleHeightProperty is not updated.

Steps to reproduce:

  1. Add listener to visibleHeightProperty
  2. Lock screen while keyboard is shown
  3. Wait a period of time, it can differ, but sometimes 5 seconds is enough
  4. Unlock screen
@41zu
Copy link
Author

41zu commented Oct 24, 2023

Forgot to add:
When showing the keyboard again (though tapping an TextField), the property still doesn't get updated (because it would be the same value).
When hidding it again after that (through tapping the 'back button' in Android), only then the property gets updated again.

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

No branches or pull requests

1 participant