1.0.3 • Published 6 years ago
no-osx-overscroll v1.0.3
NoOSXOverscroll
Prevent overscroll browser back navigation on a Mac.
Why
A large portion of what I build at work relies on horizontally scrolling. Browser navigation via Mac's trackpad can yield a frustrating UX, so I sought ways to solve it. I didn't find an npm package for it so I decided to implement one and publish it.
Usage
After the package is added to your package.json dependencies, the library can be imported as desired.
Example:
const { noMacOverScroll } = require('../../node_modules/no-osx-overscroll/dist')
Features
This currently only supports browser back navigation.
License
MIT