Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit c439dcb

Browse files
committed
disabled overflow-scrolling for old chrome
1 parent ea45331 commit c439dcb

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
border-radius: 5px;
3131
background-color: rgba(0, 0, 0, 0.2);
3232
}
33+
body {
34+
-webkit-overflow-scrolling: auto!important;
35+
}
3336
`;
3437

3538
style.type = 'text/css';

index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prevent-pull-refresh",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Preventing the pull-to-refresh effect browser on mobile",
55
"main": "index.min.js",
66
"scripts": {

0 commit comments

Comments
 (0)