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

[$500] IOS - App jumped after request the money from user #7777

Closed
kbecciv opened this issue Feb 16, 2022 · 22 comments
Closed

[$500] IOS - App jumped after request the money from user #7777

kbecciv opened this issue Feb 16, 2022 · 22 comments
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Improvement Item broken or needs improvement. Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 16, 2022

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:

  1. Launch the app and log in with any account
  2. Tap on any user
  3. Tap on plus button
  4. Select Request Money
  5. Put amount and tap Continue

Expected Result:

App should continue the action without jumping after request the money from user

Actual Result:

App jumped after request the money from user

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • iOS

Version Number: 1.1.39.1

Reproducible in staging?: Yes

Reproducible in production?: Yes

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Image.from.iOS.17.MP4

Expensify/Expensify Issue URL:

Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

@MelvinBot
Copy link

Triggered auto assignment to @danieldoglas (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@danieldoglas
Copy link
Contributor

The expected result is not clear to me. What do you mean by jumping?

@kavimuru
Copy link

@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
Copy link

@danieldoglas Huh... This is 4 days overdue. Who can take care of this?

@MelvinBot
Copy link

@danieldoglas Still overdue 6 days?! Let's take care of this!

@danieldoglas danieldoglas added Improvement Item broken or needs improvement. External Added to denote the issue can be worked on by a contributor labels Feb 23, 2022
@MelvinBot
Copy link

Triggered auto assignment to @Christinadobrzyn (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@danieldoglas
Copy link
Contributor

Ok, setting this as External since we won't need any changes on backend to fix it.

@MelvinBot MelvinBot removed the Overdue label Feb 23, 2022
@danieldoglas danieldoglas removed their assignment Feb 23, 2022
@Christinadobrzyn
Copy link
Contributor

Ah very interesting catch! Created Upwork job post

Internal job posting - https://www.upwork.com/ab/applicants/1496647407337132032/job-details
External job posting - https://www.upwork.com/jobs/~0192323f35298e036a

@botify botify removed the Daily KSv2 label Feb 24, 2022
@MelvinBot MelvinBot added the Weekly KSv2 label Feb 24, 2022
@MelvinBot
Copy link

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (Exported)

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 24, 2022
@MelvinBot
Copy link

Triggered auto assignment to @pecanoro (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@pecanoro
Copy link
Contributor

pecanoro commented Mar 5, 2022

Not overdue, waiting for someone to propose a solution.

@MelvinBot MelvinBot removed the Overdue label Mar 5, 2022
@Christinadobrzyn
Copy link
Contributor

Price doubled to $500 - still waiting on proposals

@Christinadobrzyn Christinadobrzyn changed the title IOS - App jumped after request the money from user [$500] IOS - App jumped after request the money from user Mar 8, 2022
@Regaron
Copy link

Regaron commented 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 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.

@phivh
Copy link
Contributor

phivh commented 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 incomponentWillUnmount
File locate need to add: https://github.com/Expensify/App/blob/main/src/components/IOUConfirmationList.js

componentWillUnmount() {
        if(VirtualKeyboard.isOpen()) {
            Keyboard.dismiss();
        }
    }

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
Copy link
Contributor

phivh commented Mar 15, 2022

@pecanoro @rushatgabhane Could you guys take a look into the proposal?

@rushatgabhane
Copy link
Member

rushatgabhane commented 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

@MelvinBot MelvinBot added Overdue and removed Overdue labels Mar 16, 2022
@phivh
Copy link
Contributor

phivh commented 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
Copy link
Contributor

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
Copy link

Regaron commented Mar 18, 2022

I saw it more noticeable on send money action than request money.

@rushatgabhane
Copy link
Member

rushatgabhane commented Mar 23, 2022

I saw it more noticeable on send money action than request money.

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
Copy link
Contributor

pecanoro commented 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.

@pecanoro pecanoro closed this as completed Apr 1, 2022
@MelvinBot MelvinBot removed the Overdue label Apr 1, 2022
@Regaron
Copy link

Regaron commented 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Improvement Item broken or needs improvement. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

10 participants