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
[HOLD #11768] mWeb-lands on wrong screen when pressing the back button from the attachment screen @gadhiyamanan #11372
Hmm so the problem is that the attachment picker is not really a new page, it's the same page with a modal on it, so the back button is technically functioning correctly. IMO this is not a bug, it's user error. If they hit the x everything will work fine. The only reason it's confusing is because it looks like a different page, but that's not something we want to fix right now IMO
If we do want to fix this, we could artificially add the report page a second time to react-navigation, but that could also cause problems where the flow is:
Navigate to report
Hit add attachment
Click the x
Hit back button
You stay on the same page
Hit back again and you actually go back.
So we would need to artificially add it when you click "add attachment" and then remove it when you hit the "x". Again I think that's not worth it though, happy to hear other opinions
Looks like something related to react-navigation may have been mentioned in this issue discussion.
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 DeprecatedCustomActions.js files should not be accepted.
This is not its own screen so I dont think this will be fixed and I am not sure if we should be fixing it in terms of consistency wit desktop. There the attachment is also a modal and not its own page.
Activity
melvin-bot commentedon Sep 28, 2022
Triggered auto assignment to @alexpensify (
AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.thesahindia commentedon Sep 28, 2022
Dupe of #7010 and it was decided to close it (check the reason here)
alexpensify commentedon Sep 28, 2022
Assigning to Engineering for the check if this one should be closed or give it another review.
cc: @roryabraham and @stitesExpensify
melvin-bot commentedon Sep 28, 2022
Triggered auto assignment to @cristipaval (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.stitesExpensify commentedon Sep 28, 2022
Hmm so the problem is that the attachment picker is not really a new page, it's the same page with a modal on it, so the back button is technically functioning correctly. IMO this is not a bug, it's user error. If they hit the
xeverything will work fine. The only reason it's confusing is because it looks like a different page, but that's not something we want to fix right now IMOstitesExpensify commentedon Sep 28, 2022
If we do want to fix this, we could artificially add the report page a second time to react-navigation, but that could also cause problems where the flow is:
So we would need to artificially add it when you click "add attachment" and then remove it when you hit the "x". Again I think that's not worth it though, happy to hear other opinions
melvin-bot commentedon Sep 28, 2022
Looks like something related to
react-navigationmay have been mentioned in this issue discussion.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
DeprecatedCustomActions.jsfiles should not be accepted.Feel free to drop a note in #expensify-open-source with any questions.
roryabraham commentedon Sep 29, 2022
cc @puneetlath because this is react-navigation related I'm thinking we should put it on HOLD pending the FT you're working on
57 remaining items
mountiny commentedon Jun 22, 2023
This is not its own screen so I dont think this will be fixed and I am not sure if we should be fixing it in terms of consistency wit desktop. There the attachment is also a modal and not its own page.
JmillsExpensify commentedon Jul 12, 2023
Ok cool, still aiming to get to this one this week.
JmillsExpensify commentedon Aug 16, 2023
Still trying to make time. Low priority.
JmillsExpensify commentedon Oct 10, 2023
Re-tested and this is now fixed.
JmillsExpensify commentedon Oct 10, 2023
@gadhiyamanan I just sent you an offer for reporting. Once you've accepted and been paid, we can close this one out.
gadhiyamanan commentedon Oct 11, 2023
@JmillsExpensify offer accepted, thanks!
JmillsExpensify commentedon Oct 11, 2023
Anytime. All paid out!