body-scroll-lock
react-ios-switch
Our great sponsors
body-scroll-lock | react-ios-switch | |
---|---|---|
5 | - | |
4,007 | 126 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | 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.
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
react-ios-switch
We haven't tracked posts mentioning react-ios-switch yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
keen-slider - The HTML touch slider carousel with the most native feeling you will get.
react-switch - A draggable toggle-switch component for React. Check out the demo at:
react-native-modal-datetime-picker - A React-Native datetime-picker for Android and iOS
react-toggle - Elegant, accessible toggle component for React. Also a glorified checkbox.
formio.js - JavaScript powered Forms with JSON Form Builder
react-triple-toggle - React multi toggle component
formio - A Form and Data Management Platform for Progressive Web Applications.
toggle - Vue 3 toggle component with labels, custom slots and styling options (+Tailwind CSS support).
react-layer-stack - Layering system for React. Useful for popover/modals/tooltip/dnd application
ui-switch - React Switch component based on native checkbox input, using CSS variables (custom properties) as much as possible. Easily customisable and super lightweight.
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