GeezerVison is showing github.com — fix(mobile): Android image viewer keeps panning after an interrupted pinch by Pipyakas · Pull Request #19241 · pingdotgg/t3code
Conversation
Pipyakas
commented
Oct 14, 2026
•
edited by juliusmarminge
Loading
Uh oh!
There was an error while loading. Please reload this page.
An interrupted pinch can leave the Android image viewer visibly zoomed while its committed scale still blocks subsequent panning. The dependency patch commits gesture state on termination using its existing release path. It also preserves swipeToCloseEnabled=false after zoom-out so the wrapping ScrollView cannot start taking drags.
Based on @Pipyakas’s #19241. Preserved the contributor’s commits and merged main. The change remains a small patch to [email protected], registered in the workspace and lockfile.
Verification:
- Frozen dependency installation succeeds and applies the patch. Mobile typecheck, targeted integration-file lint, manifest formatting, and diff checks pass.
- 20 existing image/media tests across five files pass; 0 → 0 permanent tests added because there is no existing native-gesture harness.
- A throwaway diagnostic executes the dependency’s actual Android component and responder handlers with React Native runtime substitutes. Unpatched: 2/5 scenarios pass; patched: 5/5 pass. It covers interrupted pinch/pan, normal release, swipe-to-close enabled/disabled, and oversize-pinch clamping. Diagnostic output. This is JavaScript behavior evidence, not Android device proof.
Native verification is still required. Device tools returned Agent device access is turned off for this environment. No current-head native screenshot or gesture recording could be captured. A human must verify interrupted multitouch, pinch-to-single-finger panning, zoom bounds, and double-tap/reset behavior on Android. Source inspection confirms iOS uses a different gesture implementation and T3’s native file presenter; those paths do not execute this patch. macOS, Windows, iOS, Android, and Electron desktop were not exercised. Both dependency fixes are candidates for upstreaming; no upstream issue or PR was opened. This PR is not claimed ready for merge without that proof.
Implemented with Codex gpt-6.1-sol in T3 Code; tests by Codex gpt-6-astra. Independent adversarial reviews: Claude claude-opus-5-5 and Codex gpt-6-sol.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at fc978ae
Macroscope's review found this PR approvable — This is a narrowly scoped Android gesture bug fix applied to an existing dependency, with lockfile and patch-registration updates only. The runtime behavior change is limited to correctly committing interrupted pinch state and honoring the already-selected swipe-to-close setting.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
bb461db8-9ec9-42ac-bee1-8e8df26dac13
📥 Commits
-
Reviewing files that changed from the base of the PR and between a92ac98 and a576ecb.
⛔ Files ignored due to path filters: 1
-
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 1
-
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
📝 Walkthrough
-
Android viewport dimensions now use useWindowDimensions, and Android layouts use runtime window dimensions. Scroll and zoom callbacks validate events and ignore stale work. Gesture handling preserves the current index, limits scrolling while zoomed, and commits terminated pan gestures. useAnimatedComponents accepts an optional reset key and memoizes animated values.
Changes: Android image gestures
| Layer / File(s) |
Summary |
Image gesture behavior patches/[email protected] |
Scrolling after zoom is enabled only when swipe-to-close is enabled. Terminated pan gestures call onRelease to commit gesture state. |
Priority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: dylan1020
Merge Risk: ⚪ Minimal · up to a576e
-
No concrete regression is established by the available evidence; normal Android device validation remains advisable.
Architecture Summary
Architecture risk: 🔵 Low · up to a576e
The change affects 1 system.
Changed systems: patches
Architecture concerns
No architecture-level concerns identified.
Review details
-
Systems and components
- observed — patches (service) was modified; 1 changed file maps to changed impact.
Before / after behavior
- observed — Modified behavior in patches/[email protected]:
ImageItem now enables scrolling after zoom only when swipeToCloseEnabled is true, and its zoom callback dependencies include onZoom and swipeToCloseEnabled.
- observed — Modified behavior in patches/[email protected]:
usePanResponder now routes terminated gestures through handlers.onRelease(), committing gesture state when a gesture is taken over mid-interaction.
Pre-merge checks: 3 · 1
-
Failed checks: 1 warning
| Check name |
Status |
Explanation |
Resolution |
| Description check |
 |
The description clearly documents the problem, change, verification results, limitations, and agent details. It does not provide the required scope and approval evidence or explain why this focused fi… |
Add a Scope and approval section. Include a link to the triaged issue or discussion with explicit maintainer approval of the direction and scope, including the approval comment. If the fix qualifies as an obvious focused bug fix without pri… |
Passed checks: 3 passed
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title clearly and concisely identifies the Android image viewer bug involving continued panning after an interrupted pinch. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Description check
-
Explanation
The description clearly documents the problem, change, verification results, limitations, and agent details. It does not provide the required scope and approval evidence or explain why this focused fix qualifies for an exemption from prior issue or maintainer approval.
Resolution
Add a Scope and approval section. Include a link to the triaged issue or discussion with explicit maintainer approval of the direction and scope, including the approval comment. If the fix qualifies as an obvious focused bug fix without prior approval, explain why. Keep the existing native verification limitation and required human Android validation clearly stated.
- Fix all pre-merge checks with AI
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…pinch
react-native-image-viewing only committed its scale on release, so a pinch
taken over by the wrapping ScrollView left pans gated on the old scale until a
double-tap. Commit on terminate too, and keep that ScrollView unscrollable
when swipe-to-close is off (it re-enabled scrolling after every zoom-out).
Fixes pingdotgg#14767
|
Taking over this one. I will validate the dependency patch against current main, keep the change focused on interrupted-pinch state and drag ownership, and publish the checks plus any Android device-verification gap before pushing to this branch.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Labels
size:S
10-29 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|