-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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: User navigates to many pages when quickly press them in ProfilePage #37164
Conversation
The issue exists for profilePage.mp4Also when a profilePage2.mp4Can we wrap both the sections together with a |
Sure. |
Hmm the odd point is |
If we wrap both sections together with only one group, don't all the menu items share same single execution? |
Thanks! Fixed! Please check again. |
Why are we using App/src/hooks/useSingleExecution/index.ts Lines 5 to 9 in e9fb49d
Because the bug is not fixed with this on Android Chrome profilePageAndroidChrome.mp4but fixed on Android Native. profilePageAndroid.mp4 |
@c3024 Previously there were some problems with |
Reviewer Checklist
Screenshots/VideosAndroid: NativeprofilePageAndroid.mp4Android: mWeb ChromeprofilePageAndroidChrome.mp4iOS: NativeprofilePageiOS.mp4iOS: mWeb SafariprofilePageiOSSafari.mp4MacOS: Chrome / SafariprofilePageChrome.mp4MacOS: DesktopprofilePageDesktop.mp4 |
@puneetlath This is working well for native apps but not working with mWeb because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✋ 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/puneetlath in version: 1.4.47-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Details
This PR applies
MenuItemGroup
inProfilePage
to ensure there's only one navigation occur at a time thus fixes the issue that user navigates to many pages when quickly press menu items.Fixed Issues
$ #32753
PROPOSAL: #32753 (comment)
Tests
Offline tests
NA
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
Screen.Recording.2024-02-24.at.05.59.30-compressed.mov
Screen.Recording.2024-02-24.at.14.49.48-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-02-24.at.06.02.02-compressed.mov
iOS: Native
Screen.Recording.2024-02-24.at.05.57.33-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-02-24.at.05.58.27-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-24.at.05.56.10-compressed.mov
MacOS: Desktop
Screen.Recording.2024-02-24.at.05.56.10-compressed.mov