-
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: User navigates to many pages when quickly press them #34861
Conversation
@c3024 Bump here. |
Reviewer Checklist
Screenshots/VideosAndroid: NativedobAndroid.mp4Android: mWeb ChromedobAndroidChrome.mp4iOS: NativedobiOS.mp4iOS: mWeb SafaridobiOSSafari.mp4MacOS: Chrome / SafaridobChrome.mp4MacOS: DesktopdobDesktop.mp4 |
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
@puneetlath This needs your approval. |
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.
Can you remind me why the PersonalDetailsInitialPage is the only menu item group that this is relevant to?
children: React.ReactNode; | ||
|
||
/** Whether or not to use the single execution hook */ | ||
shouldUseSingleExecution?: boolean; |
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.
When does this ever get set to false?
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.
This is just like what we did in MenuItemList here. I can remove it without any problem.
@puneetlath This is the one in OP. Do you want me to investigate and fix every other places as well? But I think that's quite risky and out of scope. Let's apply to this component first. |
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.
Ok, thanks for the explanations. Makes sense.
Hmm lint is failing on main coming from this PR:
Fix here |
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.4.38-0 🚀
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.4.38-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.38-6 🚀
|
Details
On Android, user navigates to many pages when quickly taping them.
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-01-22.at.02.04.17-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-01-22.at.02.06.47-compressed.mov
iOS: Native
Screen.Recording.2024-01-22.at.02.08.33-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-01-22.at.02.10.19-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-22.at.02.01.28-compressed.mov
MacOS: Desktop
Screen.Recording.2024-01-22.at.02.01.28-compressed.mov