okonet / react-scroll-sync

Synced scroll position across multiple scrollable elements
http://react-sync-scroll.netlify.com/
MIT License
426 stars 59 forks source link

Lock one of the axis for particular pane #9

Open serhiitroinin opened 7 years ago

serhiitroinin commented 7 years ago

I have issue with three panes. Two of them shouldn't update horizontal or vertical position for another panes. But now when I'm scrolling horizontal pane, it passes vertical position 'scrollTop: 0' to other panes. I'm not sure if there is any way to do it with current implementation. If no - I can implement it.

okonet commented 7 years ago

I don't think either. Send a PR if you have a solution.