0.0.15 • Published 7 years ago

react-double-scrollbar v0.0.15

Weekly downloads
121,530
License
MIT
Repository
github
Last release
7 years ago

React-Double Scrollbar

Adds a horizontal scrollbar to the top of an element.

Usage

Example in a React.Component render method:

render() {
    return (
      <div>
        <DoubleScrollbar>
          <table>...</table>
        </DoubleScrollbar>
      </div>
    );
  }

Installation

The easiest way to use React-Double Scrollbar is to install it from NPM and include it in your own build.

npm install react-double-scrollbar --save

You can also use the standalone build by including dist/DoubleScrollbar.js in your page.

License

MIT

Change log

v0.0.15

  • Recalculate the width of the children in componentDidUpdate and if the width has changed update the width of the top scrollbar div.

v0.0.11

  • Add onresize to update the scrollbar when the window size changes

v0.0.10

  • Dependency fix, added peerDependency and allow for react 0.14.7 or newer

v0.0.9

  • Added tests and documentation

Contributing

All help is appreciated. To contribute please create a branch, make changes, add or update tests then create a pull request.

Development

Clone repo then run

npm install

To build run

npm run build

To test

npm test

Test in watch mode

npm test -- --watch

To create and publish a new version

Make sure to update version in package.json

To create a new tag run

git tag <new version>

git push origin --tags

To publish to npm

npm publish

@react-material-table/material-tablezawee-material-tablematerial-table-2material-table-hotfix-for-initial-page-remote-datamaterial-table-initial-page-hotfixmaterial-table-glmaterial-table-gl2material-table-bendevbunadmin-material-table@lucpolak/material-tablematerial-table-ex@idkman/material-table-fixedrobinbullock-material-table-corematerial-table-fixed-bundle-sizeray-material-table-core@infinitebrahmanuniverse/nolb-react-do@everything-registry/sub-chunk-2551ui-food2cm-table-csvm-table-phivu3m-table-phivu4m-table-phivu5material-tablematerial-table-atidiamaterial-table-forkmaterial-table-forkedmaterial-table-group-selectmaterial-table-groupfixmaterial-table-hotfix-initial-page-remote-datamaterial-table-ctxmaterial-table-extmaterial-table-extendedmaterial-table-extramaterial-table-jspdf-fixmaterial-table-krajeematerial-table-memomaterial-table-msmaterial-table-mui5material-table-nmclrn-forkmaterial-table-no-pdfmaterial-table-optimizedmaterial-table-patchedmaterial-table-phivu2material-table-polizeimaterial-table-readthisovermaterial-table-slznomaterial-table-sxmaterial-table-user-analysismaterial-table-vtmaterial-table-zhdmaterial-table-zhd-corematerial-table18material-ui-advanced-tablematerial-table-rtofr3sh-material-tableray-material-tablers-material-table@alfonmga/material-table@zalastax/nolb-react-do@wc-yat/material-tableresiq-table@yann32/material-datagridamf-material-table-mui-5@delewis13/material-tablebunadmin-tablebbmaterial-tablespanidea-matertial-table@bunred/material-tabletmt-material-tabletmttabrav-material-table@dataremark/material-table@marc-lebourdais/material-table@nivranaitsirhc/material-table-exvdelacou-material-tablecustomized-material-tablecs-material-tabledavetech-material-table@mohanaji/material-table@lsrugo/material-table@latyaodessa/material-table@mattpilleul/material-table@insilica-org/material-table@roq/material-table@reactuicomponents/reactmaterialgrid@technote-space/material-table@tecuity/material-table@seromenho/material-tabletable-lesanwedo-tablewense-tableversa-material-tabledaitona-test-mui@e-bar.mk/material-table@ebarmk/material-table@eataly/material-table@hungphongbk/material-table@json2d/material-table@jscholar/material-table-core@forecastable-org/mui-table
0.0.15

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago