green icon indicating copy to clipboard operation
green copied to clipboard

Refactor Segmented Control

Open splashdust opened this issue 1 year ago • 2 comments

Refactor Segmented Control to use scroll-snap and IntersectionObserver instead of custom layout logic.

The responsiveness of the component is updated to allow variable width of the segments when all segments can fit without scroll.

Related to #1603

splashdust avatar Oct 07 '24 15:10 splashdust

🦋 Changeset status

Based on the included changeset, the following releases will be published as a result of this PR:

  • @sebgroup/green-core: 1.43.4 → 1.44.0 (minor bump)

Note: If unpublished changesets where merged to main after the first commit of this PR, this list will include those changes in addition to the ones specific to this PR.

👋 Thanks for creating a pull request!

🚀 Checkout the storybooks we've created for it: