Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fluidgroup/swiftui-scrollview-interoperable-drag-gesture

A custom gesture that allows scroll views to be prioritized. Hitting edges makes the gesture activate.
https://github.com/fluidgroup/swiftui-scrollview-interoperable-drag-gesture

swiftui

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.
-