-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
fix: set shared values in layout effects #838
fix: set shared values in layout effects #838
Conversation
📊 Package size report
|
Checks have passed, but I noticed two e2e tests are flaky on iOS 16:
They failed on the first try and passed when reran. Are they known issues or related to this PR? |
This is a known issue. Simulator on first boot works really slow, but after 15-20 minutes becomes working normally (this is why I added test repeat). So yeah, ignore it 😅 May I ask you to attach videos from your reproduction app, how it was before and how it looks after? |
@QichenZhu do you need a new release? Asking because in So asking how do you want to fix that in Expensify? Via patch or via lib update? |
Thank you so much @kirillzyusko for the quick action on this. I believe the plan is to upgrade the library, as mentioned in @roryabraham's comment:
|
Okay @QichenZhu I'll prepare release today 👍 |
Published |
📜 Description
Fixed
KeyboardAvoidingView
not updating if the keyboard closes before binding event handlers.💡 Motivation and Context
There’s a short timing gap after
KeyboardAvoidingView
initializes and before it listens for keyboard changes. If the keyboard closes during this gap, it isn’t aware that the keyboard has already closed.Closes #836.
Related to:
$ Expensify/App#56156
PROPOSAL: Expensify/App#56156 (comment)
📢 Changelog
JS
🤔 How Has This Been Tested?
Tested locally on OnePlus 8 Pro Android 13.
📸 Screenshots (if appropriate):
react-native-keyboard-controller-android.mp4
after.mp4
📝 Checklist