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

[Bug] Radio checked + focus state fixes #2314

Merged
merged 3 commits into from
Nov 17, 2022
Merged

[Bug] Radio checked + focus state fixes #2314

merged 3 commits into from
Nov 17, 2022

Conversation

langermank
Copy link
Contributor

@langermank langermank commented Nov 17, 2022

What are you trying to accomplish?

  • Fix jumpy checked Radio button when screens are zoomed
  • Fix focus states (they seemed to be somewhat hidden)

Closes https://github.com/github/primer/issues/1489

Before:
👀 👀

CleanShot.2022-11-16.at.16.53.51.mp4

After:

CleanShot.2022-11-16.at.16.54.27.mp4

What approach did you choose and why?

Thanks to @vdepizzol for his lovely prototype! We're using a border instead of a pseudo element to show the checked state.

What should reviewers focus on?

This code lives in PVC so a bit tricky to test unless you open it in a devspace 😄

Can these changes ship as is?

  • Yes, this PR does not depend on additional changes. 🚢

@langermank langermank requested a review from a team as a code owner November 17, 2022 00:52
@changeset-bot
Copy link

changeset-bot bot commented Nov 17, 2022

🦋 Changeset detected

Latest commit: 6084b91

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot temporarily deployed to Storybook Preview November 17, 2022 00:59 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview November 17, 2022 01:03 Inactive
@langermank langermank merged commit c8100be into main Nov 17, 2022
@langermank langermank deleted the radio-bug-fix branch November 17, 2022 20:03
@primer-css primer-css mentioned this pull request Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants