|
1 | 1 | diff --git a/node_modules/react-remove-scroll/dist/es2015/SideEffect.js b/node_modules/react-remove-scroll/dist/es2015/SideEffect.js |
2 | | -index 625c185..6cd4d17 100644 |
| 2 | +index 625c185..52d934f 100644 |
3 | 3 | --- a/node_modules/react-remove-scroll/dist/es2015/SideEffect.js |
4 | 4 | +++ b/node_modules/react-remove-scroll/dist/es2015/SideEffect.js |
5 | | -@@ -1,7 +1,5 @@ |
| 5 | +@@ -1,7 +1,4 @@ |
6 | 6 | -import { __spreadArray } from "tslib"; |
7 | 7 | import * as React from 'react'; |
8 | | - import { RemoveScrollBar } from 'react-remove-scroll-bar'; |
| 8 | +-import { RemoveScrollBar } from 'react-remove-scroll-bar'; |
9 | 9 | -import { styleSingleton } from 'react-style-singleton'; |
10 | 10 | import { nonPassive } from './aggresiveCapture'; |
11 | 11 | import { handleScroll, locationCouldBeScrolled } from './handleScroll'; |
12 | 12 | export var getTouchXY = function (event) { |
13 | | -@@ -13,30 +11,16 @@ var extractRef = function (ref) { |
| 13 | +@@ -12,31 +9,16 @@ var extractRef = function (ref) { |
| 14 | + return ref && 'current' in ref ? ref.current : ref; |
14 | 15 | }; |
15 | 16 | var deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; }; |
16 | | - var generateStyle = function (id) { return "\n .block-interactivity-".concat(id, " {pointer-events: none;}\n .allow-interactivity-").concat(id, " {pointer-events: all;}\n"); }; |
| 17 | +-var generateStyle = function (id) { return "\n .block-interactivity-".concat(id, " {pointer-events: none;}\n .allow-interactivity-").concat(id, " {pointer-events: all;}\n"); }; |
17 | 18 | -var idCounter = 0; |
18 | 19 | var lockStack = []; |
19 | 20 | export function RemoveScrollSideCar(props) { |
@@ -42,7 +43,7 @@ index 625c185..6cd4d17 100644 |
42 | 43 | var shouldCancelEvent = React.useCallback(function (event, parent) { |
43 | 44 | if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) { |
44 | 45 | return !lastProps.current.allowPinchZoom; |
45 | | -@@ -139,10 +123,7 @@ export function RemoveScrollSideCar(props) { |
| 46 | +@@ -139,10 +121,7 @@ export function RemoveScrollSideCar(props) { |
46 | 47 | document.removeEventListener('touchstart', scrollTouchStart, nonPassive); |
47 | 48 | }; |
48 | 49 | }, []); |
|
0 commit comments