Skip to content

fix(v2): tab label showing outline & background when clicked - #3171

Merged
slorber merged 5 commits into
meta:masterfrom
mdfaizan7:tab-label-bug
Jul 31, 2020
Merged

slorber merged 5 commits into
meta:masterfrom
mdfaizan7:tab-label-bug

Conversation

@mdfaizan7

Copy link
Copy Markdown
Contributor

Motivation

#3150

Have you read the Contributing Guidelines on pull requests?

Yes

Screenshots:

Before:

image

After:

image

@mdfaizan7
mdfaizan7 requested a review from lex111 as a code owner July 30, 2020 16:01
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 30, 2020
@docusaurus-bot

docusaurus-bot commented Jul 30, 2020 •

Copy link
Copy Markdown
Contributor

@Mihonarium

Copy link
Copy Markdown

Thanks for the PR, but to remove the outline and the background completely when there's a focus is not a solution. I wrote more in a comment in the issue.

@mdfaizan7
mdfaizan7 marked this pull request as draft July 30, 2020 17:27
@mdfaizan7
mdfaizan7 marked this pull request as ready for review July 30, 2020 19:46
@slorber slorber changed the title fix: tab label showing outline & background when clicked fix(v2): tab label showing outline & background when clicked Jul 31, 2020
@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Jul 31, 2020
@slorber

slorber commented Jul 31, 2020

Copy link
Copy Markdown
Collaborator

Thanks, that seems to do the job

@slorber
slorber merged commit d560a52 into meta:master Jul 31, 2020
mrizwanashiq pushed a commit to mrizwanashiq/docusaurus that referenced this pull request Jun 25, 2026
* fix: tab label showing outline & background when clicked

* show outline when tab pressed otherwise do not

* listen to all keyboard keys* for outline

* quick fix on typo

* edits on handleMouseEvent func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

After being clicked with a mouse, tab labels show the outline and have a background

5 participants