[CP Stag][Fix] One character jumps "after" cursor when typing fast#39621
Conversation
|
@sobitneupane 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] |
|
This PR is related to live markdown cc @shubham1206agra @c3024 @thienlnam |
|
@BartoszGrajdek Can you merge main here? |
|
Done! @shubham1206agra |
|
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariScreen.Recording.2024-04-04.at.10.06.32.PM.movMacOS: Chrome / SafariScreen.Recording.2024-04-04.at.10.05.10.PM.movMacOS: DesktopScreen.Recording.2024-04-04.at.10.09.54.PM.mov |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
@thienlnam Please merge here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…cursor-position-when-typing-fast [Fix] One character jumps "after" cursor when typing fast (cherry picked from commit 90ac4ef)
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.60-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.60-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
This PR fixes a problem that happens when you type really fast and the cursor moves backwards a character.
Fixed Issues
$ #39360
Tests
Offline tests
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
Android: mWeb Chrome
mweb.android.mov
iOS: mWeb Safari
mweb.ios.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov