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-food2ctable-lesanwense-tablewedo-tableresiq-tableversa-material-tablem-table-csvm-table-phivu3m-table-phivu4m-table-phivu5material-table-forkedmaterial-table-group-selectmaterial-table-groupfixmaterial-table-hotfix-initial-page-remote-datamaterial-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-rtomaterial-table-slznomaterial-table-sxmaterial-table-user-analysismaterial-table-vtmaterial-table-zhdmaterial-table-zhd-corematerial-table18material-tablematerial-table-atidiamaterial-table-ctxmaterial-table-extmaterial-table-extendedmaterial-table-extramaterial-table-forkmaterial-ui-advanced-tableray-material-tablers-material-tablespanidea-matertial-tabletmt-material-tabletmtta@alfonmga/material-table@delewis13/material-table@dataremark/material-tablevdelacou-material-table@eataly/material-table@ebarmk/material-table@hungphongbk/material-table@forecastable-org/mui-table@insilica-org/material-table@latyaodessa/material-table@lsrugo/material-table@marc-lebourdais/material-table@nivranaitsirhc/material-table-ex@e-bar.mk/material-table@mattpilleul/material-table@mohanaji/material-table@json2d/material-table@jscholar/material-table-core@reactuicomponents/reactmaterialgrid@slcloud/material-table@softmedialab/materialui-table@seromenho/material-table@roq/material-table@bunred/material-table@tecuity/material-table@technote-space/material-table@timmygilissen/material-table@tms-software/material-table@wisely_coded/material-table-next@wc-yat/material-tableamf-material-table-mui-5@yann32/material-datagrid@zalastax/nolb-react-dofr3sh-material-tablebbmaterial-tablebrav-material-table
0.0.15

7 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago