Skip to content

Replace react-slider with Base UI slider - #2088

Closed
NAThompson wants to merge 1 commit into
silx-kit:mainfrom
NAThompson:feat/base-ui-slider
Closed

NAThompson wants to merge 1 commit into
silx-kit:mainfrom
NAThompson:feat/base-ui-slider

Conversation

@NAThompson

@NAThompson NAThompson commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Alternative to #2078, as suggested there: replace react-slider with the Base UI slider. Thumbs are centred and push by default, so the Radix offset correction and startInteraction/endInteraction are gone.

Differences: with the keyboard a thumb stops at the other instead of pushing it, and every key press is committed (so onAfterChange also receives the new domain).

Radix #2078 This PR Built-in #2087
Demo bundle (gzip) +5.9 kB +8.0 kB −2.8 kB
Packages added 14 8 0
Keyboard thumbs push yes no yes

🤖 Generated with Claude Code

Alternative to silx-kit#2078 using @base-ui/react/slider (thumbs push on drag).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@axelboc

axelboc commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Let's go for #2087

@axelboc axelboc closed this Oct 16, 2026
@NAThompson
NAThompson deleted the feat/base-ui-slider branch October 16, 2026 14:39
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