Skip to content

Keep swipe gesture buttons held while the finger stays down - #22232

Closed
hrydgard wants to merge 1 commit into
masterfrom
gesture-swipe-hold
Closed

hrydgard wants to merge 1 commit into
masterfrom
gesture-swipe-hold

Conversation

@hrydgard

@hrydgard hrydgard commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Claude says

The swipe directions only fired while the finger was actually moving, so holding a direction meant sliding around forever. Now a swiped direction stays held until the finger lifts, or until the opposite direction is swiped. Also release any held direction if the touch controls are torn down mid-gesture.

Fixes #20601

The swipe directions only fired while the finger was actually moving,
so holding a direction meant sliding around forever. Now a swiped
direction stays held until the finger lifts, or until the opposite
direction is swiped. Also release any held direction if the touch
controls are torn down mid-gesture.

Fixes #20601

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JvJR8oJNSCimCM9KXVLjfq
@hrydgard

Copy link
Copy Markdown
Owner Author

The result isn't really any better - if you map four swipe direction you run into problems where it's impossible to release left without also triggering right, and vice versa (and the same vertically). it's kinda unusable.

I think the feature itself is not great, but it might be possible to do a better implementation. This is not it.

@hrydgard hrydgard closed this Sep 18, 2026
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.

Gesture swipe touch control should keep going while held, without movement

1 participant