You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] IOS - App jumped after request the money from user #7777
The jumping seems to happen when keyboard is still not completely hidden when message animation begins(maybe due to layout shifts) while going back to Chat Screen.
As we are always going back to the Chat Screen after pressing the button regardless of success or failure of the action performed. So, we can immediately hide the keyboard on button press using Keyboard.dismiss() so that the keyboard will already be hidden when we go back.
Activity
MelvinBot commentedon Feb 16, 2022
Triggered auto assignment to @danieldoglas (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.danieldoglas commentedon Feb 16, 2022
The expected result is not clear to me. What do you mean by jumping?
kavimuru commentedon Feb 17, 2022
@danieldoglas At the timeline 0.10 sec in the video attached, there's weird jerk after completing IOU and returning back to chat again.
MelvinBot commentedon Feb 21, 2022
@danieldoglas Huh... This is 4 days overdue. Who can take care of this?
MelvinBot commentedon Feb 23, 2022
@danieldoglas Still overdue 6 days?! Let's take care of this!
MelvinBot commentedon Feb 23, 2022
Triggered auto assignment to @Christinadobrzyn (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.danieldoglas commentedon Feb 23, 2022
Ok, setting this as External since we won't need any changes on backend to fix it.
15 remaining items
Regaron commentedon Mar 12, 2022
Proposal
The jumping seems to happen when keyboard is still not completely hidden when message animation begins(maybe due to layout shifts) while going back to
Chat Screen.As we are always going back to the
Chat Screenafter pressing the button regardless of success or failure of the action performed. So, we can immediately hide the keyboard on button press usingKeyboard.dismiss()so that the keyboard will already be hidden when we go back.phivh commentedon Mar 14, 2022
Proposal
It seems a latency closing of the keyboard. We can check if the virtual keyboard is opening then we add dismiss for it in
componentWillUnmountFile locate need to add: https://github.com/Expensify/App/blob/main/src/components/IOUConfirmationList.js
If Regaron's proposal is legal to do please go ahead with him. I saw he is still in progress with his first PR.
phivh commentedon Mar 15, 2022
@pecanoro @rushatgabhane Could you guys take a look into the proposal?
rushatgabhane commentedon Mar 16, 2022
Hmm, I can't repro this bug. iOS 15.0, v1.1.42-6
@Regaron @phivh are you able to repro this bug on
main?Screen.Recording.2022-03-16.at.8.29.27.PM.mov
phivh commentedon Mar 18, 2022
@rushatgabhane it seems happening in real device, with older phone it could jump slower than my video here.
https://user-images.githubusercontent.com/5449119/158930422-36d9dfa0-e764-4c8c-a311-5255a01fc9ea.MOV
pecanoro commentedon Mar 18, 2022
I am really confused about this bug, I don't see anything wrong in any of those videos, what is it supposed to happen?
Regaron commentedon Mar 18, 2022
I saw it more noticeable on send money action than request money.
rushatgabhane commentedon Mar 23, 2022
Hmm, both flows are essentially identical. I don't see any reason why it would be more noticable on send money action
@Regaron @phivh could you please help me understand, how does it look like before and after your suggested fix? (Video will be great)
pecanoro commentedon Apr 1, 2022
I am going to close this issue since it's really unclear what the bug is or what the behavior is supposed to be.
Regaron commentedon Apr 2, 2022
Might be a bit late but here is what I've seen:
App Jumping:
Screen.Recording.2022-04-02.at.10.03.11.AM.mov
Proposal:
Screen.Recording.2022-04-02.at.10.07.38.AM.mov