Skip to content

Add directional snap gesture mode - #16

Merged
muukii merged 1 commit into
mainfrom
codex/directional-gesture
Aug 17, 2026
Merged

Add directional snap gesture mode#16
muukii merged 1 commit into
mainfrom
codex/directional-gesture

Conversation

@muukii

@muukii muukii commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a public UIKit-backed .directional gesture mode
  • use the existing axis for dominant-axis admission and snap offset updates
  • separate successful end from cancellation or failure and document the mode

Why

scrollViewInteroperable handles ScrollView edge handoff, but simple cross-axis ownership should not require that contract. A horizontal snap gesture inside a vertical scrolling surface can now reject vertical and equal-diagonal input before beginning.

Validation

  • 13/13 package tests on iPhone 17 / iOS 27.0 Simulator
  • TinycurveTests 37/37 (46 parameterized executions) in the integration worktree
  • Tinycurve iOS and native macOS Debug builds
  • production-linked touch harness: vertical and diagonal scrolling, qualifying swipe exactly once, short and reverse input, Todo, context menu, and RTL
  • explicit UIKit cancellation injection was unavailable; terminal mapping is covered by package tests and static review

@muukii
muukii marked this pull request as ready for review August 17, 2026 22:31
@muukii
muukii merged commit 5ec2f79 into main Aug 17, 2026
0 of 2 checks passed
@muukii
muukii deleted the codex/directional-gesture branch August 17, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant