fix: Import - Blank RHP opens when pressing ESC key after importing spreadsheet.#57502
Conversation
…preadsheet . Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@jayeshmangwani Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Sorry, this isn't ready yet, I need to upload the recordings. |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@jayeshmangwani, I found a navigation issue while recording videos, which also occurs after applying changes from this PR. Problem: If you have more than one RHP open at a time and close it by clicking outside the modal, you need to click the browser back button twice to return to the previous route. This happens with all RHP pages. You can reproduce the issue using the following steps: Policy Tags Pages:
Policy Workflows Pages:
On android chrome after this PRandroid_chrome.mp4On workflows pageMonosnap.screencast.2025-02-27.06-28-21.mp4Please let me know how we should handle this. Should we address it, or leave it as it is since this appears to be an app-wide behavior? |
|
I think we could leave it as is for now since this issue is also reproducible in the production version. However, we could also open a new issue to investigate further. I'm not entirely sure—I’m leaning on @yuwenmemon here. What do you think about this issue? |
|
@yuwenmemon friendly bump. |
|
@Krishna2323, I’m facing an issue on mWeb Safari. Please let me know if you can reproduce this as well. Steps to reproduce:
bug-categoties-page-twice.mov |
|
@Krishna2323 can you please check this and confirm if we can fix it? |
|
Sorry for the delay, @jayeshmangwani 🙏🏻. I was busy with this high-priority PR (#54165). I will check this issue today. |
|
Currently trying to find a solution for this issue. |
Yeah that's fine. We can file a bug report for a follow-up. |
|
@jayeshmangwani, I tried to find a solution for this issue, but unfortunately, I couldn't find one. I highly suspect that it is related to this issue because if we click the browser's back button once and then swipe back, it returns to the correct page. |
|
@jayeshmangwani, friendly bump to check this comment. |
|
@Krishna2323 I think we should fix this in this PR. It’s not ideal to proceed with the bug where the Categories page reappears if we swipe back. @yuwenmemon, what do you think about this #57502 (comment)? |
|
@jayeshmangwani, honestly, I have tried my best to find a solution for this issue, but unfortunately, I couldn't find one. This seems to be a very niche bug occurring only on iOS Safari. Please let me know if you have any plans. Thanks! |
@Krishna2323 My iOS build is currently broken, so I can’t confirm this myself. Could you please check if iOS is working fine? Video would be helpful. |
Monosnap.screencast.2025-03-24.20-02-53.mp4 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb Chromemweb-safari.moviOS: NativeiOS.moviOS: mWeb Safarimweb-chrome.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@yuwenmemon We are experiencing this issue only on mWeb Safari, but it is also occurring on other pages in Safari. Therefore, I think we should open an issue for this. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.1.20-0 🚀
|
|
This PR was linked in this deploy blocker @Krishna2323 @jayeshmangwani , can you review and comment on the issue? thx |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.20-2 🚀
|
Explanation of Change
Fixed Issues
$ #56936
PROPOSAL: #56936 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
desktop_app.mp4
MacOS: Desktop
desktop_app.mp4