-
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
Fix mini context menu doesn't close when using shortcut to other pages #45987
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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