react-select integration #533
elringus
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
@elringus After a bit of digging (mostly understanding the |
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've integrated OverlayScrollbars with react-select, which required some hacks to support scrolling to the focused option when navigating the list with arrow keys.
Hopefully it'll save someone a couple of hours: https://codesandbox.io/s/overlayscrollbars-react-select-dsq9q4?file=/index.js
I've initially attempted routing scroll viewport to the select component (which works with another scroller), but it doesn't seem to work with OverlayScrollbars . If anyone happen to find a more elegant solution, please share.
Beta Was this translation helpful? Give feedback.
All reactions