Skip to content

Add valueLabelProps to useSlider #1146

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

Closed
devongovett opened this issue Oct 6, 2020 · 0 comments
Closed

Add valueLabelProps to useSlider #1146

devongovett opened this issue Oct 6, 2020 · 0 comments
Labels
enhancement New feature or request rsp:Slider

Comments

@devongovett
Copy link
Member

🙋 Feature Request

Based on #1083 (comment), the value label for slider should be a readonly textbox so that it can be labeled. This is currently implemented in React Spectrum, but it should be moved to useSlider in React Aria so other implementations can make use of it.

💁 Possible Solution

Add valueLabelProps to the return type of useSlider and return the relevant aria props.

🧢 Your Company/Team

RSP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rsp:Slider
Projects
None yet
Development

No branches or pull requests

1 participant