Skip to content

Make a first touch on saved text open the searchable picker - #128

Merged
0thernet merged 2 commits into
mainfrom
codex/searchable-picker-touch-20261124
Nov 24, 2026
Merged

0thernet merged 2 commits into
mainfrom
codex/searchable-picker-touch-20261124

Conversation

@0thernet

@0thernet 0thernet commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

On iPhone WebKit, tapping the text of a saved choice could leave the caret at the touch position. Typing then inserted the query into the saved label. The issue reproduced in the shared gallery, a music instrument picker and a language picker.

The field now opens from a completed finger tap and selects the saved text in the same user gesture. A tap during a search keeps the platform’s text editing behavior. React Aria handles virtual center activations. The field also associates its visible description with its input for screen readers.

Verification

  • The original gallery reproduced the caret loss in WebKit 26.5 and 27.2. On the correction, left and center first taps preserved the full selection and typed a fresh query in both engines and touch Chromium.
  • Real phone views in the gallery now exercise first touch, mid-query editing and touch selection. The WebKit test reuses the same gallery. The Chromium walkthrough also swipes from the input to verify page scrolling.
  • The native WebKit probe in a consumer confirmed the description relationship and a full saved-label selection at four touch positions on both versions of WebKit.
  • The final Mac gallery passed 28 Chromium views in 33.6 seconds. Its separate WebKit check passed genuine left and center taps, native mid-draft editing, selection and the two centered events emitted by iOS assistive activation.
  • At ten touch positions, the picker and a plain WebKit input with the same font gave identical caret offsets for single- and multi-word drafts.
  • The browser custody unit suite verifies the installed Chromium, its launch flags, the shared system dependencies and the isolated pinned WebKit path.
  • All 864 local package tests passed with 33,846 assertions. The final head also passed the complete protected Linux matrix. Protected run

Browser checks

The existing Browser job also runs the focused touch journey against the WebKit pinned by the package’s Playwright version. Main can cache that engine separately. The generated package metadata and immutable dependency example advance to v0.5.29.

Across the preceding successful PR and main runs, median end-to-end CI took 2 minutes 53 seconds and the Browser job took 2 minutes 15 seconds. The final correction passed CI in 2 minutes 41 seconds, including the 2 minute 18 second Browser job. Baseline PR · Baseline main · Final run

@0thernet
0thernet marked this pull request as ready for review November 24, 2026 11:49
@0thernet
0thernet enabled auto-merge (squash) November 24, 2026 11:49
@0thernet
0thernet merged commit d08ffef into main Nov 24, 2026
21 checks passed
@0thernet
0thernet deleted the codex/searchable-picker-touch-20261124 branch November 24, 2026 11:53
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