Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fluidgroup/swiftui-scrollview-interoperable-drag-gesture
- Owner: FluidGroup
- License: apache-2.0
- Created: 2024-07-24T16:35:22.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T22:09:31.000Z (5 months ago)
- Last Synced: 2024-10-23T00:50:23.770Z (3 months ago)
- Topics: swiftui
- Language: Swift
- Homepage:
- Size: 21.5 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
-