Skip to content

Commit

Permalink
Merge pull request #1 from widianapw/master
Browse files Browse the repository at this point in the history
bugfix slider inside modal
  • Loading branch information
outlandnish authored May 24, 2023
2 parents 5b0c535 + 71b0ab9 commit 9460240
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const Slider: React.FC<SliderProps> = ({
const {panHandlers} = useMemo(
() =>
PanResponder.create({
onStartShouldSetPanResponderCapture: falseFunc,
onStartShouldSetPanResponderCapture: trueFunc,
onMoveShouldSetPanResponderCapture: falseFunc,
onPanResponderTerminationRequest: falseFunc,
onPanResponderTerminate: trueFunc,
Expand Down
14 changes: 14 additions & 0 deletions package-lock.json

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

0 comments on commit 9460240

Please sign in to comment.