-
-
Notifications
You must be signed in to change notification settings - Fork 263
[slider] Remove redundant hidden inputs #2631
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
Conversation
commit: |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Bundle size reportTotal Size Change: ▼-610B(-0.04%) - Total Gzip Change: ▼-176B(-0.03%) Show details for 71 more bundles@base-ui-components/react/slider parsed: ▼-308B(-1.18%) gzip: ▼-110B(-1.11%) |
Bundle size report
|
1b99aa2 to
b77ccbd
Compare
bc6b16f to
8946100
Compare
8946100 to
20b7d55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👌
Nice direction towards more simplicity and clarity. 👍
Breaking: The
inputRefprop is moved fromRoottoThumbSince the range input elements are focusable now (previously had
tabindex="-1") the hidden inputs are no longer needed to integrate with forms; also makes more sense forinputRefto be on the thumb since the input element isn't hidden to developers anymoreFollow up to #2575 (comment)