Fix mini context menu doesn't close when using shortcut to other pages#45987
Conversation
|
@shubham1206agra 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] |
|
Looks like currently there is an issue where the message highlight from context menu doesn't go away in mWeb (happen on main too, but not on staging) |
|
@bernhardoj Can you share the video of the problem? |
|
You can see it in the recording of the mWeb |
|
I am not able to repro this problem anywhere in iOS Simulator. |
|
Oh, you maybe disable the strict mode. I disabled it and the issue is gone. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-07-27.at.9.47.31.PM.moviOS: NativeScreen.Recording.2024-07-27.at.10.09.17.PM.moviOS: mWeb SafariScreen.Recording.2024-07-27.at.9.43.22.PM.movMacOS: Chrome / SafariScreen.Recording.2024-07-27.at.9.29.16.PM.movMacOS: DesktopScreen.Recording.2024-07-27.at.9.52.36.PM.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.0.14-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.14-6 🚀
|
Details
When using the shortcut to open other pages, the mini context menu doesn't close. This PR fix it.
Fixed Issues
$ #23959
PROPOSAL: #23959 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
A. (Web/Desktop only)
B.
(Web/Desktop only)
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
web.2.mp4
MacOS: Desktop
desktop.mp4
desktop.2.mp4