Skip to content

Conversation

joshblack
Copy link
Member

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

Changelog

New

Changed

  • Explicitly set the type attribute of the SegmentedControl.Button component to "button" to prevent automatic submission in form elements

Removed

Rollout strategy

  • Minor release

Testing & Reviewing

  • Verify that the SegmentedControl.Button component renders a <button> element with type="button"

@joshblack joshblack requested a review from a team as a code owner June 3, 2024 22:01
@joshblack joshblack requested a review from pksjce June 3, 2024 22:01
Copy link

changeset-bot bot commented Jun 3, 2024

🦋 Changeset detected

Latest commit: 44dd91b

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

Copy link
Contributor

github-actions bot commented Jun 3, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 89.43 KB (-0.02% 🔽)
packages/react/dist/browser.umd.js 89.64 KB (-0.12% 🔽)

@github-actions github-actions bot temporarily deployed to storybook-preview-4640 June 3, 2024 22:05 Inactive
Copy link
Member

@broccolinisoup broccolinisoup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just need a changeset but the PR is looking great!

@joshblack joshblack enabled auto-merge June 5, 2024 20:18
@github-actions github-actions bot temporarily deployed to storybook-preview-4640 June 5, 2024 20:21 Inactive
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.

2 participants