Skip to content
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

Usage with custom scrollbars... #508

Closed
joetidee opened this issue May 16, 2018 · 3 comments
Closed

Usage with custom scrollbars... #508

joetidee opened this issue May 16, 2018 · 3 comments

Comments

@joetidee
Copy link

I am using this package, but am also using the package react-scrollbar for the parent of the Droppable. Problem is that react-scrollbar enforces overflow: hidden on the parent container, so I cannot take advantage of the amazing autoscrolling feature of your package. Can you think of a work-around, i.e. perhaps providing a function to retrieve some positional information that can be used in conjunction with the scrollYTo() function provided by react-scrollbar?

@alexreardon
Copy link
Collaborator

If we supported nested scroll containers then this would not be an issue #131

But yeah, something could provide some extra info... but seems a bad direction. Can you simply disable the overflow hidden?

@joetidee
Copy link
Author

joetidee commented May 17, 2018

I think the reason why it sets overflow: hidden on the conatainer is to disable the browsers natural behaviour and implement it's own customisable scrollbar, which programmatically moves the contents of the container. Currently, the contents of the container is my Droppable.

@alexreardon
Copy link
Collaborator

This issue should go away when we support nested scroll containers #131. So i'll close this as a duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants