You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Mobile PR file Viewed checkbox is too small to tap #39948
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
Open a pull request on iOS or Android.
Open the Code / files review (native review diff).
Try to tap the Viewed checkbox on a file header.
Expected behavior
The Viewed control should have a tap target large enough to hit reliably, similar to the web/desktop file header after #37033 (the label/hit area fills the header; the visible checkbox does not need to grow).
Actual behavior
The native review-diff file header draws and hit-tests the Viewed checkbox as a 20×20 pt/dp rect on the trailing edge. The file header itself is ~54 pt on iOS and ~44 dp on Android, so taps that miss the glyph expand/collapse the file instead.
Hit testing is exact-rect, no extra slop:
iOS fileHeaderInteractiveRects in apps/mobile/modules/t3-review-diff/ios/T3ReviewDiffView.swift (CGRect 20×20); handleFileHeaderTap uses checkbox.contains(point)
Android fileHeaderCheckboxRect in apps/mobile/modules/t3-review-diff/android/src/main/java/expo/modules/t3reviewdiff/ReviewDiffCanvasDrawing.kt (20 dp); onSingleTapUp uses contains(event.x, event.y)
Web counterpart already landed: #37033 / fix(web): expand viewed checkbox click area. No open issue or PR covers the mobile native checkbox.
The Files list row (PullRequestFiles.tsx) only shows a viewed mark; it is not the toggle. This report is the native file-header checkbox.
Activity