
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
react-multi-scroll-sync
Advanced tools
A React scroll synchronization library for precise scroll position synchronization between multiple different types of scroll containers
A React library for synchronizing scroll positions between multiple scroll containers.
npm install react-multi-scroll-sync
import { ScrollSyncProvider, DOMScrollSyncPane } from 'react-multi-scroll-sync';
function App() {
return (
<ScrollSyncProvider>
<div style={{ display: 'flex' }}>
<DOMScrollSyncPane paneId="list-1" style={{ height: '400px', overflow: 'auto' }}>
{items.map((item, index) => (
<div key={index}>{item}</div>
))}
</DOMScrollSyncPane>
<DOMScrollSyncPane paneId="list-2" style={{ height: '400px', overflow: 'auto' }}>
{items.map((item, index) => (
<div key={index}>{item}</div>
))}
</DOMScrollSyncPane>
</div>
</ScrollSyncProvider>
);
}
import { VirtualScrollSyncPane } from 'react-multi-scroll-sync';
import { FixedSizeList } from 'react-window';
function VirtualExample() {
return (
<VirtualScrollSyncPane paneId="virtual-list">
{(setHandle, onScroll) => (
<FixedSizeList
ref={setHandle}
onScroll={onScroll}
height={400}
itemCount={1000}
itemSize={50}
>
{({ index, style }) => (
<div style={style}>Item {index}</div>
)}
</FixedSizeList>
)}
</VirtualScrollSyncPane>
);
}
<ScrollSyncProvider
enabled={true} // Enable/disable sync
throttleMs={16} // Throttle interval
tolerance={1.5} // Bottom detection tolerance
>
<DOMScrollSyncPane paneId="unique-id">
{/* scrollable content */}
</DOMScrollSyncPane>
<VirtualScrollSyncPane paneId="unique-id">
{(setHandle, onScroll) => (
// Your virtual list component
)}
</VirtualScrollSyncPane>
MIT
FAQs
A React scroll synchronization library for precise scroll position synchronization between multiple different types of scroll containers
We found that react-multi-scroll-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.