Skip to content
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

feat: improve focus behavior on terms, anchors, clipboard button #486

Merged
merged 9 commits into from
Aug 20, 2024

Conversation

martyanovandrey
Copy link
Contributor

@martyanovandrey martyanovandrey commented Aug 19, 2024

terms

  • you can focus on terms via tab and open via enter
  • when a term is open it locks the focus, you can only switch between elements inside the term while it is open

code block

  • wrapped our svg “button" for copying the code in a real
  • now you can focus on it, it becomes visible along with the focus
  • I change display: none -> opacity: 0 like anchors

anchors

  • make them visible not only on hover, but also on focus

@martyanovandrey martyanovandrey force-pushed the termFocusImpr branch 2 times, most recently from a64f1ec to 195adca Compare August 19, 2024 15:54
@martyanovandrey martyanovandrey changed the title feat: improve focus behavior on terms feat: improve focus behavior on terms, anchors, clipboard button Aug 20, 2024
@martyanovandrey martyanovandrey merged commit 4323b50 into master Aug 20, 2024
1 check passed
@martyanovandrey martyanovandrey deleted the termFocusImpr branch August 20, 2024 13:03
@martyanovandrey martyanovandrey linked an issue Nov 8, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copy icon at block code not working at its border
2 participants