Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 📜 Description Update class member `isKeyboardVisible` field in `onEnd` lifecycle instead of creating a new local variable. ## 💡 Motivation and Context Since `onEnd` may have a different state of `isKeyboardVisible`, we need to update a class variable instead of creating a new local variable, since otherwise the state may be unsynchronised which can lead to different issues. These changes shouldn't introduce any new problem, since `isKeyboardVisible` is getting updated in `onStart` callback and in `onEnd` most of the time it will have the same value as in `onStart`. Fixes: #144 ## 📢 Changelog ### Android - update `isKeyboardVisible` in `onEnd` callback; ## 🤔 How Has This Been Tested? Tested on: - Pixel 3a (Android 13, emulator); - Pixel 7 Pro (Android 13, real device). ## 📸 Screenshots (if appropriate): https://user-images.githubusercontent.com/22820318/232770424-8e70995a-72f9-4d4b-a3d4-07054e25a632.mp4 ## 📝 Checklist - [x] CI successfully passed
- Loading branch information