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 sync two scrollbars in two different react class components? #358

Open
jackvik opened this issue Jul 25, 2020 · 2 comments
Open

How to sync two scrollbars in two different react class components? #358

jackvik opened this issue Jul 25, 2020 · 2 comments

Comments

@jackvik
Copy link

jackvik commented Jul 25, 2020

No description provided.

@sakhnyuk
Copy link

Hey!
I think you should sync scrollTop value of both components. Try to use onScroll event and just set scrollTop using ref.

@dokurocker
Copy link

Try to use onScroll event and just set scrollTop using ref.

It's very slow with a mouse wheel.
Do you know what ?

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

No branches or pull requests

3 participants