fix: add outline to checkbox when focused via button#21399
Conversation
|
@allroundexperts The changes are different from your proposal. Is there any reason why do you change that? |
We recently changed the implementation from highlights being green to blue. That is why this change is needed. |
|
Okay, that makes sense. Thanks for confirming it. Let's also update your proposal in the issue and note that we have decided to make a different approach. |
@mollfpr Its essentially the same approach. The only thing changed is the position where we are adding this. Illegal update the proposal though. |
Yes, it's the same approach, but the code you mention in the proposal is removed. So from adding style border-color
I'm not suggesting overriding your original proposal, but at least we have a note that we decide to not do your original proposal. |
Sure thing @mollfpr! Apologies for the typo. I mean't that I will update my proposal 😁 |
|
No worries 😉 |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-26.at.19.22.54.movMobile Web - Chromemweb.android.webmMobile Web - SafariSimulator.Screen.Recording.-.iPhone.14.Pro.-.2023-06-26.at.19.26.37.mp4DesktopScreen.Recording.2023-06-26.at.19.23.37.moviOSAndroidandroid.webm |
mollfpr
left a comment
There was a problem hiding this comment.
LGTM 👍
Let's add a note to the test case that this can be tested on Web/mWeb/Desktop only.
marcochavezf
left a comment
There was a problem hiding this comment.
LGTM, I won't merge after SNH
|
✋ 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/marcochavezf in version: 1.3.36-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.36-5 🚀
|
Details
This PR adds an outline to the checkbox when its focused programmatically.
Fixed Issues
$ #20869
PROPOSAL: #20869 (comment)
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Screen.Recording.2023-06-23.at.4.20.13.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-06-23.at.4.49.15.PM.mov
Mobile Web - Safari
Screen.Recording.2023-06-23.at.4.44.03.PM.mov
Desktop
Screen.Recording.2023-06-23.at.4.38.14.PM.mov
iOS
For iOS, I kept getting this error which prevented me from testing this.
Android
Screen.Recording.2023-06-23.at.4.55.16.PM.mov