# react-scroll-synchronize

> Synchronize scroll positions across multiple scrollable containers

Latest version **0.0.1** (published 2023-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-scroll-synchronize
pnpm add react-scroll-synchronize
yarn add react-scroll-synchronize
bun add react-scroll-synchronize
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2023-03-07 |
| First published | 2023-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 134.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 441 |
| Author | Vo Van Trong |
| Maintainers | vantrong |

## Links

- npm: https://www.npmjs.com/package/react-scroll-synchronize
- Repository: https://github.com/okonet/react-scroll-sync
- Homepage: https://github.com/okonet/react-scroll-sync#readme
- Issues: https://github.com/okonet/react-scroll-sync/issues
- npm.io page: https://npm.io/package/react-scroll-synchronize

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.5.7

## Recent versions

- 0.0.1 (latest) — 2023-03-07
- 0.0.0-development — 2023-03-07

## README

# react-scroll-synchronize

Synced scroll position across multiple scrollable elements

**Note**
This project is fork from https://www.npmjs.com/package/react-scroll-sync to fix some issue. If there are any problem about license, please contact me via [vovantrong.dev@gmail.com](malto:vovantrong.dev@gmail.com).
  

## Demo

  

http://react-sync-scroll.netlify.com/

  

## Documentation & Example

  

http://react-sync-scroll.netlify.com/

  

## License

  

MIT

  

## Installation

  

```bash

npm install  --save  react-scroll-sync

```

## Usage

  

```jsx

import  React, {Component} from  'react';

import { ScrollSync,  ScrollSyncPane } from  'react-scroll-sync';

  

export  default  class  MyComponent  extends  Component {

render() {

<ScrollSync>

<div  style={{ display:  'flex', position:  'relative', height:  300  }}>

<ScrollSyncPane>

<div style={{overflow:  'auto'}}>

<section style={{ height:  500  }}>

<h1>Left Pane Content</h1>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab aperiam doloribus

dolorum

est eum eveniet exercitationem iste labore minus, neque nobis odit officiis omnis

possimus quasi rerum sed soluta veritatis.</p>

</section>

</div>

</ScrollSyncPane>

  

<ScrollSyncPane>

<div style={{overflow:  'auto'}}>

<section style={{ height:  1000  }}>

<h1>Middle Pane Content</h1>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab aperiam doloribus

dolorum

est eum eveniet exercitationem iste labore minus, neque nobis odit officiis omnis

possimus quasi rerum sed soluta veritatis.</p>

</section>

</div>

</ScrollSyncPane>

  

<ScrollSyncPane>

<div style={{overflow:  'auto'}}>

<section style={{ height:  2000  }}>

<h1>Right Pane Content</h1>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab aperiam doloribus

dolorum

est eum eveniet exercitationem iste labore minus, neque nobis odit officiis omnis

possimus quasi rerum sed soluta veritatis.</p>

</section>

</div>

</ScrollSyncPane>

</div>

</ScrollSync>

  

);

}

}

```

---
_Source: https://npm.io/package/react-scroll-synchronize · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
