diff --git a/index.tsx b/index.tsx index 37163ae..eb415c6 100644 --- a/index.tsx +++ b/index.tsx @@ -188,7 +188,7 @@ const Slider: React.FC = ({ const {panHandlers} = useMemo( () => PanResponder.create({ - onStartShouldSetPanResponderCapture: falseFunc, + onStartShouldSetPanResponderCapture: trueFunc, onMoveShouldSetPanResponderCapture: falseFunc, onPanResponderTerminationRequest: falseFunc, onPanResponderTerminate: trueFunc, diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..498afa2 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,14 @@ +{ + "name": "rn-range-slider", + "version": "2.2.2", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "rn-range-slider", + "version": "2.2.2", + "license": "MIT", + "devDependencies": {} + } + } +}