-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$1000] iOS - Split bill - Keyboard displayed abruptly when split bill animation slides in #21394
Comments
Triggered auto assignment to @CortneyOfstad ( |
Bug0 Triage Checklist (Main S/O)
|
Was able to recreate, as the keyboard lingered. Going to get eyes on this. |
Job added to Upwork: https://www.upwork.com/jobs/~01fd7b79c5ae42e842 |
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Hi! |
@CortneyOfstad Can you please assign @waterim here |
@CortneyOfstad Both. I will be the C+ here for review |
📣 @waterim You have been assigned to this job by @CortneyOfstad! |
📣 @aabantariqmurtaza! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@aabantariqmurtaza You don't need to access the SO. Just run |
@waterim Any updates here? |
@s77rt Found a root of the issue, will add proposal today. |
@s77rt Will send it tomorrow, found one issue with random black blink after the navigation |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
@s77rt I was reviewing Popover animation, everything was correct there. After I decided to try to restart IOS simulator and this black blink just disappeared. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Keyboard displayed abruptly after navigation to split bill screen What is the root cause of that problem?The main issue here is a behaviour of Native IOS keyboard. If the keyboard dismissal occurs after the navigation has started, it may result in a momentary blink as the new screen is displayed. What changes do you think we should make in order to solve the problem?The best way to fix this issue is to hide Keyboard with Keyboard.dismiss() before the actual Popover with (Split Bill and Add Attachment) was opened. This will add a natural feeling of the application - Keyboard will disappear with a native animation before Popover is opened. What alternative solutions did you explore?N/A |
@waterim Thanks for the proposal. I don't think your RCA is correct/complete. Your provided little info on why the bug is occurring in the first place. For instance why the keyboard is even getting pulled up? Is it because we are re-focusing the input after closing the modal or something else? I think the point that I'm trying to make here is that instead of pulling the keyboard up and then dismiss it, we should not even pull it in the first place. |
@s77rt okay, I will add more information to the Proposal. here is an answer to your question: |
@waterim After we click on the plus grey button, the keyboard is already dismissed. Why after we click on "Split bill" it appears again? |
@s77rt After additional investigation:
|
Heading OoO for the week (back July 10) so re-assigning this in the meantime 👍 |
Triggered auto assignment to @lschurr ( |
Bug0 Triage Checklist (Main S/O)
|
@waterim Thanks for the follow up.
Can you please back this up with link to code? I know this behaviour exists in RNW for accessibility reasons as part of the FocusTrap implementation. But I don't see any relevant code in Also, how come this issue is only reproducible in iOS and not in Android? Feedback: Everytime you make a statement it's really recommended that you link to code supporting that statement e.g. in "But on the page Split bill we have a logic to dismiss a keyboard", it would have been great and much helpful if you linked to that logic. This makes the review process much faster. |
@s77rt actually with my solution add attachment works perfectly, without any keyboard blinks And without this abrupt closing of the keyboard |
@s77rt thank you for your feedback, will add more details, more relevant code to future proposals |
@s77rt okay, sure) |
@waterim Thanks, this feels like an improvement. I think we should let the assignees handle the bug fix first then we can discuss such animations in Slack. |
Just to confirm - should this one be closed for now @s77rt? |
@lschurr Yes |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #21310
Action Performed:
Expected Result:
Split bill screen animation slides in smoothly with no unnecessary elements displayed
Actual Result:
Keyboard is still displayed for a couple of seconds when Split bill screen animation slides in
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.31.2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6103623_IMG_8200.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: