A (hacky) JavaScript polyfill to enable smooth scrolling on iOS without the background scrolling with it.
npm install --save bootstrap-modal-ios-polyfill
- Load the
bootstrap-modal-ios-polyfill.js
file - Require it:
require('bootstrap-modal-ios-polyfill')
- Your done!
Yes, we know, this is really hacky, but works for our use-cases. Any improvements are welcome! 😁