OverlayScrollbars integration #5678
elringus
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've integrated react-select with OverlayScrollbars.
Hopefully it'll save someone a couple of hours:
https://codesandbox.io/s/overlayscrollbars-react-select-dsq9q4?file=/index.jsI'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.UPD: Author of the package made an improved version w/o the hacky scrolling stuff: https://codesandbox.io/s/overlayscrollbars-react-select-forked-mjdmt2?file=/index.jsx props to @KingSora :)
Beta Was this translation helpful? Give feedback.
All reactions