-
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
iOS - Previous conversation is briefly visible when opening a new chat #3729
Comments
Triggered auto assignment to @roryabraham ( |
Triggered auto assignment to @MitchExpensify ( |
Sorry for the delay here, let's get this on Upwork! |
For posterity's sake: We had another issue #2154 open for this before, and a PR #2221 was made to try and fix it. I think one of the problems with our current fix is that this code block is never executed the way we intended Proposal
Simulator.Screen.Recording.-.iPhone.SE.14.5.-.2021-07-01.at.02.21.29.mp4 |
Thanks for the explanation @rdjuric!
It seems like this was not the intention when this PR was written, and I wonder if this is the real source of the issue. Do you know why the |
@roryabraham Good questions! I don't think the remount is the cause since our i.e remounting is also calling I think the problem is really that we're trying to render both the I'll talk a bit about the remounts in the next comment. |
It's not the prop change that is triggering the remount (the parent is also being remounted), but the way we navigate in our drawer navigator. This reset here causes the remounts. I modified it a bit so that it would stop remounting our routes and this issue kept happening iOSNoRemount.mp4 |
My bad for the delay! Missed the "external" assignment on this one, here's the Upwork job. |
Hmmm okay thanks for digging into this some more @rdjuric. I think that good enough for me to agree that we should just take the path of least resistance and move forward with your original proposed solution. Feel free to submit a PR once you're been hired on Upwork. @MitchExpensify feel free to hire @rdjuric if/when he applies on Upwork. |
Hired! |
Sorry for the delay here @roryabraham! PR is up at #3908 |
Merged! |
Shouldn't this issue have been closed once the PR was merged or when it hit production? |
I think this is the message I sent to mitch on Upwork 😅 |
Paid! Apologies for the delay @rdjuric |
@rdjuric thanks for comment, makes sense now. Also, our new process will be adding |
@mallenexpensify ah, yeah I think you're correct; might be due to what @MonilBhavsar was saying elsewhere, that since this is an older issue it wasn't in the DB so it didn't get the automated comment. |
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:
Expected Result:
New chat should be displayed.
Actual Result:
Previous conversation is briefly visible before displaying the correct chat.
Platform:
Where is this issue occurring?
Web
iOS ✔️
Android
Desktop App
Mobile Web
Version Number: 1.0.73-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Issue not reproducible in the Android app.
Image.from.iOS.2.MP4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @puneetlath https://expensify.slack.com/archives/C01GTK53T8Q/p1624380109498500
The text was updated successfully, but these errors were encountered: