-
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
[CP Stag] Fix pasting text into main composer #39177
[CP Stag] Fix pasting text into main composer #39177
Conversation
1582eae
to
83d34a5
Compare
Tagging #36071 for tracking. |
@Skalakid Can you merge main here? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeiOS: NativeiOS: mWeb SafariScreen.Recording.2024-03-31.at.8.14.02.PM.movMacOS: Chrome / SafariScreen.Recording.2024-03-31.at.8.11.52.PM.movMacOS: DesktopScreen.Recording.2024-04-04.at.9.51.33.PM.mov |
@BartoszGrajdek Android mWeb is not fixed. |
Screen.Recording.2024-03-31.at.8.19.59.PM.mov |
@shubham1206agra I'll take a look into all of your comments later today 👀 |
@shubham1206agra it doesn't work in case you try to paste the text copied from your computer into the simulator/emulator. If you paste the text you copied from the device you use for testing, everything works |
Let me confirm this with an ad-hoc build. |
This comment has been minimized.
This comment has been minimized.
@thienlnam can you run a new ad-hoc build, please? |
Kicked off another build |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@thienlnam Please review and 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. |
…sting-to-composer Fix pasting text into main composer (cherry picked from commit 93e9719)
Tested here |
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
This PR fixes problem with extra line breaks and cursor positioning when pasting text into main composer with LIve Markdown Input.
Fixed Issues
$ #39006
PROPOSAL:
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
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
N/A
Android: mWeb Chrome
chrome.mov
iOS: Native
N/A
iOS: mWeb Safari
safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov