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

How to integrate it with reactjs ? #52

Open
ramisalem opened this issue Oct 10, 2018 · 4 comments
Open

How to integrate it with reactjs ? #52

ramisalem opened this issue Oct 10, 2018 · 4 comments
Labels

Comments

@ramisalem
Copy link

No description provided.

@Beraliv
Copy link
Contributor

Beraliv commented Oct 13, 2018

Create a component which is working with DOM using ref

@tatwater
Copy link

Actually, it appears that simply including import SimpleScrollbar from 'simple-scrollbar'; in a React component yields an app crash and the error: "Unhandled Rejection (ReferenceError): window is not defined".

@buzinas

This comment has been minimized.

@buzinas
Copy link
Owner

buzinas commented Jun 13, 2020

I have open sourced a react version of the library (and I also updated the code while building it, so it works even better than this one).

For anyone interested: https://github.com/closeio/react-custom-scroller

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

No branches or pull requests

4 participants