[Fix] Unable to undo copy and pasted text#39803
[Fix] Unable to undo copy and pasted text#39803BartoszGrajdek wants to merge 1 commit intoExpensify:mainfrom
Conversation
|
@hoangzinh 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] |
|
cc @shubham1206agra @c3024 @thienlnam since this PR is related to the Live Markdown 🙌🏻 |
|
I think the issues are reviewed by whoever has been auto-assigned. Let us know if otherwise. |
|
@thienlnam Let me know if I can start to review this PR |
|
@hoangzinh You're good to start the review here |
|
Hi @BartoszGrajdek I'm unsure if the bug is fixed. It works for first time undo but it doesn't from 2nd time Screen.Recording.2024-04-09.at.20.32.26.mov |
That's weird, let me take a look at it 👀 |
|
Another fix to |
|
Closing since we bumped to a higher version .47 |
|
@BartoszGrajdek does the fix here included in 0.47? If not I think we need to re-open this PR |
|
No, there's still one more fix coming, but I believe we'll now do batched PRs instead of a couple of separate ones. |
Details
Whenever opening a new chat user wasn't able to undo the first action he would make like pasting. This PR upgrades the version of
react-native-live-markdownto include the fixFixed Issues
$ #39255
Tests
CMD + ZOffline tests
Same as above
QA Steps
Same as above
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
Details
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
This PR only adds changes to the web version, AFAIK it's impossible to undo anything on mWeb, so I'm not attaching any test videos for that