-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Support react-window library #148
Comments
Good day! I'm aware of a bug which prevents the usage of This update ( |
@Media-Evil The new version is now here. Please test it! |
Tested with lists. Native scrollbars still persist if component is passed as a child to Do component wrappers now support textareas? |
@Media-Evil no they arent yet! Could you create a example on one of the pages mentioned above, so I could take a look and identify the issue, else I cant really help you out. |
Thanks! Thats no bug, since |
I managed to make it work with
And then, in your virtualized component:
I'm using this with Hope it helps. |
Is there the possibility to make it work also with react-virtualized? |
is this working? |
@joa-queen please check this sandbox |
@partha-0103 wrap the scrollbar children with a div with fixed height.
|
It took a bit of time, but with You can use this approach also for |
@KingSora please add example for VariableSizeList.outerElementType with useOverlayScrollbars. It is working code without useOverlayScrollbars: const outerElementType = React.forwardRef(({ children, onScroll, style }, ref) => {
return <div {...{ ref, style, onScroll }}>{children}</div>
}) other example: https://codesandbox.io/s/bvaughnreact-window-fixed-size-list-vertical-wqmeo?file=/index.js:323-339 |
Hello, thank you for the library, and sorry for the silly question but, how could I remove the flicker at the start? tried to add data-overlay scrollbars-initialize in https://stackblitz.com/edit/react-8glpkm?file=index.js but there are still a few frames where the initial scrollbar is visible |
@KingSora |
@Rychu-Pawel I'm looking into it! |
@Rychu-Pawel Alright, sorry for the trouble... The problem was that remaining IE11 compatibility code was overwriting the |
@KingSora, wow, that was blazing fast 💪 I can confirm the newest version is working as expected. Thank you so much for your quick fix! Best package maintenance ever 🎉 |
@KingSora, can you help me? I cant make it work using the OverlayScrollbarsComponent react component, is there a way? |
@brunopmartins please check out the examples in this new issue I created: #639 |
Thank you very much, @KingSora . Probably save me a good amount of work time. |
this does not work
The text was updated successfully, but these errors were encountered: