-
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 doing text selection on money request amount input swipes the tab #35875
Fix doing text selection on money request amount input swipes the tab #35875
Conversation
@thesahindia 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-07.at.1.36.21.AM.movAndroid: mWeb ChromeScreen.Recording.2024-02-07.at.1.40.46.AM.moviOS: NativeScreen.Recording.2024-02-07.at.1.52.58.AM.moviOS: mWeb SafariScreen.Recording.2024-02-08.at.1.06.44.AM.movMacOS: Chrome / SafariScreen.Recording.2024-02-07.at.1.00.26.AM.movMacOS: DesktopScreen.Recording.2024-02-07.at.1.02.31.AM.mov |
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!
@francoisl looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
The TS Checks action is failing because of 2 files that were not modified in this PR - not an emergency merge. |
✋ 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/francoisl in version: 1.4.39-0 🚀
|
This PR is the only one that seems to have made changes to AmountTexInout so I think this one might have caused the blocker? #36230 |
I can't reproduce the issue (Pixel 6 Android 14, emulator). Screen.Recording.2024-02-10.at.00.09.39.mov |
Yes, it's weird because it works on the emulator but not on a real device 🤔 |
I am checking main vs staging, maybe something else fixed it on main |
It also works on staging on the emulator, pretty odd indeed. However, it is still broken on my pixel 8 device 😞 |
I only own a Redmi Note 8 Pro and it works fine. New room page name input also uses |
It works fine there. I am going to try and see if something else modified something related. |
The TimePicker that uses AmountTextInput also seems to have the same problem. I am going to try debugging in my own device |
Ok, bad news, I debugged it on my phone instead of the emulator and it's this PR. When I remove the |
I asked internally and even though some people can select the amounts, they are reporting that it takes a few times for them to tap until it get selected, so something is off. |
I am going to revert the PR and we can figure out later why this would cause issues in some devices and create some buggy behavior in others. |
I will see if I can borrow my friend's Pixel to debug it myself. |
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.39-8 🚀
|
Details
This PR adds interceipt swipe props so the tab won't receipt the swipe event when doing a text selection.
Fixed Issues
$ #35436
PROPOSAL: #35436 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
On mWeb safari, if you reach the end of the input, the tab will gets swiped
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-06.at.14.44.21.mov
Android: mWeb Chrome
Screen.Recording.2024-02-06.at.15.02.58.mov
iOS: Native
Screen.Recording.2024-02-06.at.15.02.14.mov
iOS: mWeb Safari
Screen.Recording.2024-02-06.at.14.43.24.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-06.at.14.50.25.mov
MacOS: Desktop
Screen.Recording.2024-02-06.at.14.59.29.mov