App: [HOLD][$250] Dev - Getting console warning in android
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
- build the app
- immediately see the errors
Expected Result:
No console warnings displayed
Actual Result:
Console warnings about keyboardAvoidingViewBehavior are present
Workaround:
Unknown
Platform:
Where is this issue occurring?
- Android
Version Number: 1.2.12-3
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL: Issue reported by: @aneequeahmad Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1665522948008369
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 42 (38 by maintainers)
Yep we can close this now. Thanks @aimane-chnaif.
I vote we close this issue as it’s not a big problem and will be fixed after https://github.com/Expensify/App/pull/10648
Paid!
Looks fair to me @aneequeahmad! Added you as a reporter
I think i should also be added in
reporteras I reported this bug on 1st September here and again same error on another component on 28th September here. Thankscc: @kavimuru, @MitchExpensify, @Luke9389
Ok, I checked again. It will indeed cause that issue. I retract my decision. I like the suggestion from @hungvu193 in https://github.com/Expensify/App/issues/11733#issuecomment-1277010019 to add
enable/disablebehavior but there is another PR that is trying to change this code so it might be needed.These are two options here.
Setting
keyboardAvoidingViewBehaviorprop to'' or undefinedhas same effect as disabling theKeyboardAvoidingView.In both ways, @hungvu193 proposals make sense.
cc: @Luke9389 what do you think we should do?
IMO, let’s just focus on point 2 as the issue says. There are some ongoing efforts in different PR/issues which will affect the KeyboardAvoidingView behavior.
🎀 👀 🎀 C+ reviewed
If we can fix this now it is fine to just do it.