fixed-position-ios-scroll
body-scroll-lock
fixed-position-ios-scroll | body-scroll-lock | |
---|---|---|
1 | 5 | |
0 | 4,007 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | about 1 year ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fixed-position-ios-scroll
-
How to lock body scroll properly on IOS when a "fixed" positioned overlay/modal is open?
I created this repo explaining the issues I am facing when using these libraries.
body-scroll-lock
-
Next 13: how to disable scrolling on body when modal is open?
i built a modal system at work that uses this, except using https://github.com/willmcpo/body-scroll-lock to lock/unlock when a modal is displayed...you have to also limit scrolling on the html tag for full support across all devices
-
How to lock body scroll properly on IOS when a "fixed" positioned overlay/modal is open?
Tested live demo of body-scroll-lock (body is still scrollable in IOS)
-
WebKit Features in Safari 16.0
Overscroll Behavior will make my life so much easier when I have to implement a modal that can scroll. You need stuff like body-scroll-lock [1] which will do a lot of different tricks and has to be implemented just right. Now we only need to add overscroll-behavior: contain; and we're done.
[1]: https://github.com/willmcpo/body-scroll-lock
-
Deactivate scrolling of body while lightbox is visible
This is actually a tricky problem when you factor in all browsers and mobile devices. This little library should help: https://github.com/willmcpo/body-scroll-lock
What are some alternatives?
react-use - React Hooks — 👍
keen-slider - The HTML touch slider carousel with the most native feeling you will get.
react-native-modal-datetime-picker - A React-Native datetime-picker for Android and iOS
formio.js - JavaScript powered Forms with JSON Form Builder
formio - A Form and Data Management Platform for Progressive Web Applications.
react-layer-stack - Layering system for React. Useful for popover/modals/tooltip/dnd application
react-ios-switch - React switch component https://clari.github.io/react-ios-switch
onsenui - Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.
kind-stranger - [NEW] Minimalistic React + Redux Mobile Reddit Viewer
SaferIntegers.jl - These integer types use checked arithmetic, otherwise they are as system types.
bigger-picture - JavaScript lightbox gallery for images, video, audio, iframes, html. Zoomable, responsive, accessible, lightweight.