react-scroll-sync
react-scroll-sync copied to clipboard
Synced scroll position across multiple scrollable elements
First, thanks a lot for this package! I use it to synchronize two lists. The list items containt a couple of `div`s and text. When using momentum-based scrolling (which is...
why use requestAnimationFrame to achieve synchronous scrolling instead of directly updating element?
How can I use `ref` on `ScrollSyncPane` child? It is always `undefined`. Maybe that's because `ScrollSyncPane` is cloning child in `render` function, passing `childRef` property, which is never set?
I have been using your package in nextjs 14. It is working fine using page router, but whenever I refactor my page router "file" to app router "file". I get...
First off, thank you for the nice library! I have noticed what seems to be a bug: when a pane belongs to multiple groups and its scroll gets synchronized through...
## Description Issue I am encountering a TypeScript error when trying to use ScrollSync from react-scroll-sync in my Next.js project. The error states that ScrollSync's type FC is not a...
Hi there! Thanks so much @okonet for all your thoughts and work that went into this library. A few days ago I was searching for exactly what react-scroll-sync is doing...
There should be a way of getting the refs of the scrollable elements used within the ScrollPanel elements. I need to investigate why it is not possible, but I have...
nextjs : 13.5.6 lib: ^0.11.0 ReferenceError: Element is not defined at Object. (/Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:854:71) at __webpack_require__ (/Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:30:30) at Object. (/Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:883:23) at __webpack_require__ (/Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:30:30) at /Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:76:18 at /Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:79:10 at webpackUniversalModuleDefinition (/Users/****/v3/frontend_next/node_modules/react-scroll-sync/dist/index.js:3:20) at...
Bumps [minimist](https://github.com/minimistjs/minimist), [minimist](https://github.com/minimistjs/minimist) and [mkdirp](https://github.com/isaacs/node-mkdirp). These dependencies needed to be updated together. Updates `minimist` from 1.2.5 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long...