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 fix: ButtonGroup hover causes wiggly buttons #2933

Merged
merged 6 commits into from
Feb 24, 2023
Merged

Conversation

langermank
Copy link
Contributor

@langermank langermank commented Feb 23, 2023

Removing the border-right on hover/active/focus to stop the wiggle wiggles. Technically, if you look real close it might look imbalanced as there's no change in the border-color on hover, but I think its such a minor detail that fixing the wigglies is more important.

See preview deploy for testing

Closes #2930

Screenshots

Before

CleanShot.2023-02-23.at.14.13.08.mp4

After

CleanShot.2023-02-23.at.14.13.41.mp4

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@changeset-bot
Copy link

changeset-bot bot commented Feb 23, 2023

🦋 Changeset detected

Latest commit: c76b5c8

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

This PR includes changesets to release 1 package
Name Type
@primer/react 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
Copy link
Contributor

github-actions bot commented Feb 23, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 94.28 KB (-0.02% 🔽)
dist/browser.umd.js 94.86 KB (-0.03% 🔽)

@github-actions github-actions bot temporarily deployed to storybook-preview-2933 February 23, 2023 20:54 Inactive
@langermank langermank temporarily deployed to github-pages February 23, 2023 20:58 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2933 February 23, 2023 20:59 Inactive
@langermank langermank marked this pull request as ready for review February 23, 2023 21:06
@langermank langermank requested review from a team and colebemis February 23, 2023 21:06
@langermank langermank temporarily deployed to github-pages February 23, 2023 23:11 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2933 February 23, 2023 23:12 Inactive
@langermank langermank temporarily deployed to github-pages February 24, 2023 01:06 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2933 February 24, 2023 01:06 Inactive
@langermank langermank added this pull request to the merge queue Feb 24, 2023
Merged via the queue into main with commit 81ed540 Feb 24, 2023
@langermank langermank deleted the wiggly-buttons branch February 24, 2023 20:34
@primer-css primer-css mentioned this pull request Feb 24, 2023
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.

Icon button groups wiggle around while on hover
2 participants