-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[NoQA] fix onPaste patch #48370
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
[NoQA] fix onPaste patch #48370
Conversation
|
@ahmedGaber93 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: Native20240902034200120.mp4Android: mWeb ChromeiOS: Native20240901115529571.mp4iOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
Patch is works fine now on android, I have made sure of that by
|
|
@s77rt Sending the image crash the app on emulator with me, do you facing the same issue? 20240902040054381.mp4 |
|
@ahmedGaber93 I didn't get that crash. Can you try download the image and upload it regularly see if it's related to the paste flow or in general |
Thanks for confirmation. Also, It works fine with me after restarting the emulator, it looks like my local emulator didn't have enough memory. |
ahmedGaber93
left a comment
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/roryabraham in version: 9.0.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.29-12 🚀
|
Details
After the RN upgrade PR got merged #45289 it introduced a regression that was due to merge conflicts causing the onPaste event not being registered correctly on Android. This PR fixes it.
Making this a

NoQAbecause there is another bug that's introduced by #47832. This probably needs upstream fix (react-native-image-size). I will look into this later on. Edit: Expensify/react-native-image-size#6Fixed Issues
$ #41239
Tests
Offline tests
QA Steps
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop