Skip to content

A custom gesture that allows scroll views to be prioritized. Hitting edges makes the gesture activate.

License

Notifications You must be signed in to change notification settings

FluidGroup/swiftui-scrollview-interoperable-drag-gesture

Repository files navigation

ScrollView Interoperable Drag Gesture

A custom gesture that allows scroll views to be prioritized. Hitting edges makes the gesture activate.

Using UIGestureRecognizerRepresentable

Requirements

  • iOS18+

Options

  • ScrollView Priority Dragging

    • Prioritizes the dragging gesture on a ScrollView, ensuring that scrolling takes precedence.
  • ScrollView Edge Sticking

    • Prioritizes the dragging once the scroll view's content hits its edge.
  • Ignore ScrollView Option

    • Ignore dragging gestures on any scroll view.

About

A custom gesture that allows scroll views to be prioritized. Hitting edges makes the gesture activate.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages