-
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: blue outline appears for a moment on buttons #12090
fix: blue outline appears for a moment on buttons #12090
Conversation
Remove focus from the chat action button, emoji picker, and the video chat button immediately after the buttons are clicked/tapped.
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Hey @MarkCSmith thanks for the changes but can you also include fab menu? Because it's also reproducible there. |
Done (via a second commit). |
src/components/VideoChatButtonAndMenu/BaseVideoChatButtonAndMenu.js
Outdated
Show resolved
Hide resolved
@MarkCSmith, please address this as well -
|
@thesahindia Thanks for your feedback. Done! |
Thanks for the changes! Everything looks good but we got some conflicts. Please pull the latest changes and resolve them and we will be good to go 🚀. |
@thesahindia Should I create a new PR, or what is the best way to publish a rebased branch? |
You can pull the changes using |
Thanks! Hopefully I did things correctly. |
@MarkCSmith this PR is unmergable as-is because it contains one unsigned commit. Please try this command to retroactively sign the commits on this PR: git -c core-editor=true rebase -i --exec 'git commit --amend --no-edit -n -S' a93beb77befef329810af5068caef370f5eb0784 Then force-push to this branch with |
Changes looks good. @MarkCSmith, please address #12090 (comment) (sorry for not catching this earlier) ScreenshotsWeb Screen.Recording.2022-10-28.at.1.40.30.AM.movMobile Web - Chrome Screen.Recording.2022-10-28.at.1.52.33.AM.movMobile Web - Safari Screen.Recording.2022-10-28.at.1.49.10.AM.movDesktop Screen.Recording.2022-10-28.at.1.38.53.AM.moviOS Screen.Recording.2022-10-28.at.1.47.33.AM.movAndroid Screen.Recording.2022-10-28.at.2.06.22.AM.mov |
Also fix this problem for the FAB.
Avoid inline comments.
Thanks. The above command is asking me to manually resolve dozens of conflicts (a painful and potentially error-prone process). But I was able to undo the merge to current main, run the above command to add the missing signature, and then re-do the merge to main. I will force push the revised branch. |
47b649b
to
ce1aefe
Compare
This comment was marked as outdated.
This comment was marked as outdated.
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.
Sorry for the review delay
Unfortunately this PR now has conflicts that need to be resolved. I apologize for the inconvenience @MarkCSmith |
b798307
|
Not sure, why the PR Reviewer Checklist test is failing. |
@thesahindia it's probably related to #12429 |
@thesahindia try following the instructions in this comment in this PR |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2022-10-28.at.1.40.30.AM.movMobile Web - ChromeScreen.Recording.2022-10-28.at.1.52.33.AM.movMobile Web - SafariScreen.Recording.2022-10-28.at.1.49.10.AM.movDesktopScreen.Recording.2022-10-28.at.1.38.53.AM.moviOSScreen.Recording.2022-10-28.at.1.47.33.AM.movAndroidScreen.Recording.2022-10-28.at.2.06.22.AM.mov |
@roryabraham looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
✋ 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 @roryabraham in version: 1.2.29-0 🚀
|
🚀 Deployed to production by @AndrewGable in version: 1.2.29-7 🚀
|
Remove focus from the chat action button, emoji picker, and the video chat button immediately after the buttons are clicked/tapped.
Details
A blue focus ring is displayed when a button has focus, but this is undesirable. By immediately calling blur() on the element we can suppress the focus ring.
Fixed Issues
$ #11433
$ PROPOSAL #11433 (comment)
Tests
For MacOS Chrome and MacOS Desktop:
For iOS/native, Android/native, iOS/Safari, and Android/Chrome:
Note: on Android/Chrome in the device we used for testing, the focus ring
was orange instead of blue.
QA Steps
For MacOS Chrome and MacOS Desktop:
For iOS/native, Android/native, iOS/Safari, and Android/Chrome:
Note: on Android/Chrome in the device we used for testing, the focus ring
was orange instead of blue.
PR Review Checklist
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting 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
have been tested & I retested again)/** 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)Screenshots
Web
issue11433-MacOS-Chrome.mp4
Mobile Web - Chrome
issue11433-Android-Chrome.mp4
Mobile Web - Safari
issue11433-iOS-Safari.mp4
Desktop
issue11433-MacOS-Desktop.mp4
iOS
Android