Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add gestureMinimumDistance argument to allow customizing the gesture sensitivity #4

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tkafka
Copy link

@tkafka tkafka commented Jun 27, 2022

A default minimum gesture distance of 15 doesn't work for me - it steals the vertical scroll gesture from ScrollView too easily.
I added an option to configure this with values of .compatible (previous behavior), .comfortable (a double value, tested to work better), and .custom(CGFloat) (that allows customization by the user).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant