-
Notifications
You must be signed in to change notification settings - Fork 3k
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: use stripped amount for new selection #25624
Conversation
@eVoloshchak 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/VideosWebScreen.Recording.2023-08-24.at.16.16.16.movMobile Web - Chromescreen-20230824-210905.mp4Mobile Web - SafariScreen.Recording.2023-08-24.at.21.07.04.movDesktopScreen.Recording.2023-08-24.at.16.15.10.moviOSScreen.Recording.2023-08-24.at.21.33.16.movAndroidScreen.Recording.2023-08-25.at.00.21.51.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.
This bug is still present on iOS, not sure if the cause is the same
Screen.Recording.2023-08-24.at.16.17.47.mov
When typing any letter on iOS on the virtual keyboard (we hide the keyboard and only show the custom number pad during normal use), it will briefly appear and cause the same behavior, so it seems like a different RCA not related to the commas problem described in the issue. What's your view? |
Yeah, it's a separate issue, can be reproduced only with external keyboard connected (or in simulator) |
✋ 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/danieldoglas in version: 1.3.58-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀
|
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.59-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀
|
Details
Determine the new cursor position based on the stripped amount to ensure that it does not incorrectly move when typing.
Fixed Issues
$ #23933
PROPOSAL: #23933 (comment)
Tests
Offline tests
QA Steps
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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
Web.Screen.Recording.2023-08-21.at.21.43.31.mp4
Mobile Web - Chrome
mWeb.Chrome.Screen.Recording.2023-08-21.at.22.50.57.mp4
Mobile Web - Safari
mWeb.Safari.screencap-2023-08-21T195908.403Z.mp4
Desktop
Desktop.Screen.Recording.2023-08-21.at.22.53.36.mp4
iOS
Native.iOS.screencap-2023-08-21T194634.032Z.mp4
Android
Native.Android.Screen.Recording.2023-08-21.at.22.47.00.mp4