-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] mWeb/Safari - Expense - Submit button hangs in the middle of expense details page for 2 sec #50663
Comments
Triggered auto assignment to @greg-schroeder ( |
@greg-schroeder FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-10-12 01:50:22 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
and early return in this if
What alternative solutions did you explore? (Optional)
|
@greg-schroeder Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~021845948123449591250 |
Sending through to |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
@truph01 Thanks for your proposal! Is it possible to dismiss the keyboard before returning / navigating to the submit page? |
We can implement it, but it makes the app feel very slow since, after the user clicks the Save button in step 7, the screen doesn't close immediately |
@truph01 As this issue only happen on mobile Safari, I have concerns about your solution to introduce several states that will be applied to other platforms as well. Would you like to explore a simpler solution? |
This comment was marked as outdated.
This comment was marked as outdated.
@eh2077 I saw that we already have the same solution to address the same issue in here: App/src/components/PDFView/index.tsx Lines 74 to 86 in ff6d622
The above useEffect is used to determine if the keyboard is currently visible. It checks the keyboard status by monitoring the window height, as the keyboardDidShow event does not function properly on the web. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@truph01 Thanks for your comment. I tested in iOS native App and also found it has same issue but less noticeable than mobile Safari. I think we can go with @truph01 's proposal - adding an extra state of keyboard opening status to decide whether to hide the submit button or not. Maybe we should consider creating a new hook for this use case. We can discuss more in the PR. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@eh2077 I found the solution for the native platform, that is we will make sure the keyboard is dismissed successfully before navigating to another screen. We can do it by using |
@thienlnam what do you think about the above? Do you have any thoughts on how we could proceed here? |
We can hold this issue until issue 53182 is fixed. I saw the PR to fix that issue is promising. |
@truph01 Thank you for linking to that related issue. @greg-schroeder I think we can put this issue on hold for the other issue #53182 |
Updating to on hold |
Held for #53182 |
Same as above |
Same as above |
Same |
Hold removed as 53182 seems to be complete |
@eh2077 are we good to proceed here? |
@greg-schroeder The issue has been fixed! I think we can close it. Screen.Recording.2025-01-13.at.9.47.42.PM.mov |
Just realized that we have worked on a PR which was reverted later. During the discussion to fix the regression, @truph01 suggested to hold this for another issue #50663 (comment). And now the issue has been fixed by the other one. @greg-schroeder In this case, are we still eligible for 50% of the bounty? |
@greg-schroeder This issue has been fixed by my pull request. Can I receive payment for this? |
Hmm. Let me review what happened here and I'll explain the payment situation |
Timeline
Payments
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.48-0
Reproducible in staging?: YY
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5075760
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
User returned back to expense details page, the page is displayed correctly.
Actual Result:
Submit button hangs in the middle of expense details page for 2 sec after entering and saving Merchant.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6632006_1728663459480.Submit_button.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: