Skip to content

fix: refine live text tap handling in reader#661

Merged
everpcpc merged 2 commits intomainfrom
codex/fix-live-text-tap-zone-conflicts
Mar 14, 2026
Merged

fix: refine live text tap handling in reader#661
everpcpc merged 2 commits intomainfrom
codex/fix-live-text-tap-zone-conflicts

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Problem

With Live Text enabled in the DIVINA reader, taps could compete between VisionKit and the reader tap-zone bridge. That made center control toggles unstable and could regress into unexpected page movement in scroll mode.

Approach

Keep paging gestures enabled and tighten the iOS tap-zone filter so it only yields the center toggle when the tap actually hits an active ImageAnalysisInteraction point. This avoids broad VisionKit view heuristics that could block page-turn taps after analysis.

Scope

  • Remove the temporary Live Text scroll-disable state from the reader view model and gesture gates.
  • Use precise ImageAnalysisInteraction hit testing in the iOS tap bridge.
  • Bump the build number to 366.

Validation

  • make format
  • make build-ios

Keep reader paging enabled while Live Text is on and narrow the tap-zone filter to real ImageAnalysisInteraction hit points.

This prevents center control toggles from conflicting with Live Text content without blocking page-turn taps after analysis.
@everpcpc everpcpc merged commit b9a31d5 into main Mar 14, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/fix-live-text-tap-zone-conflicts branch March 14, 2026 06:19
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