React component that adds native browser overflow scrolling to content.
- Performance Has
-webkit-overflow-scrolling: touchadded for great mobile scrolling performance. - Mobile Experience Prevents mobile user from draging all app content when scroller edge is reached and scroll content is dragged in non scrollable direction.
Install using npm:
npm install @ox2/scroller --saveInstall using yarn:
yarn add @ox2/scrollerimport Component from '@ox2/scroller/Component';
const handleChange = (value) => console.log('👾👾', value);
Changes are tracked in the CHANGELOG.md