Skip to content

fix(app): ignore a double tap on a photo that did not complete - #480

Merged
simonvanlierde merged 1 commit into
mainfrom
fix/a11y-gesture-and-search-status
Oct 26, 2026
Merged

simonvanlierde merged 1 commit into
mainfrom
fix/a11y-gesture-and-search-status

Conversation

@simonvanlierde

Copy link
Copy Markdown
Contributor

Gesture handler calls a tap's onEnd for failed taps too, so a double tap that drifted or lost to a pinch still zoomed the photo, and since the double-tap zoom change it zoomed on the spot where the tap was abandoned. The handler now returns early unless the tap succeeded.

Tests: a new ZoomableImage test passes a failed tap and fails without the fix; the existing tap tests now pass success explicitly. app just check passes.

Gesture handler calls onEnd for failed taps too, so a double tap that drifted or lost to a pinch still zoomed in, now on the spot where it was abandoned.
@simonvanlierde
simonvanlierde merged commit a2845f1 into main Oct 26, 2026
16 checks passed
@simonvanlierde
simonvanlierde deleted the fix/a11y-gesture-and-search-status branch October 26, 2026 17:11
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