🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-overflow-scrolling

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-overflow-scrolling

Stop propagation body scroll

1.0.1
latest
Source
npm
Version published
Weekly downloads
315
-2.48%
Maintainers
1
Weekly downloads
 
Created
Source

react-overflow-scrolling

Stop propagation body scroll

npm

Demo

Auto find children nodes with css property (overflow || overflow-x || overflow-y) and allow native scrolling

Installation

$ npm i react-overflow-scrolling --save

Usage

CSS

.overflow-scrolling {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

JSX

import OverflowScrolling from 'react-overflow-scrolling';

export class ExampleOverflowScrolling extends React.Component {
    render() {
        return (
            <OverflowScrolling className='overflow-scrolling'>
                ...
            </OverflowScrolling>
        );
    }
}

Keywords

react

FAQs

Package last updated on 24 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts