You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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