Skip to content

Commit

Permalink
disabled overflow-scrolling for old chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
nghiepdev committed Dec 27, 2017
1 parent ea45331 commit c439dcb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.2);
}
body {
-webkit-overflow-scrolling: auto!important;
}
`;

style.type = 'text/css';
Expand Down
2 changes: 1 addition & 1 deletion index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prevent-pull-refresh",
"version": "1.0.1",
"version": "1.0.2",
"description": "Preventing the pull-to-refresh effect browser on mobile",
"main": "index.min.js",
"scripts": {
Expand Down

0 comments on commit c439dcb

Please sign in to comment.