useScrollbar
#4122
Replies: 1 comment 1 reply
-
I don't think we have plans to add a custom scrollbar to React Spectrum since we rely on the native one. That being said, I can bring it up with the team on whether we would be open to accepting a contribution of this to React Aria for this. I think you could borrow a lot of code from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I haven't seen anything like this in react-spectrum/aria after searching on google/issues/discussion, forgive me if this is a dupe of some kind.
I'm needing a custom scrollbar that is ideally just as accessible as a native scrollbar and I'd rather write it in React rather than finagle with restyling the native scrollbar itself.
I'm noticing that there is an aria role for this already: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/scrollbar_role
Curious if this is something that has already been considered by the Spectrum team.
Beta Was this translation helpful? Give feedback.
All reactions