Repository navigation
fix(ios): smooth sidebar drags and remove background seams - #112299
Conversation
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(ios): smooth sidebar drags and remove background seams This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Land-ready verification is complete on What I verified:
Known proof gap: the simulator CLI does not expose a supported Reduce Motion toggle for a source-blind run. Tap-based reveal and close controls remain present, and code-aware review found no Reduce Motion regression. |
|
Merged via squash.
|
…112299) * fix(ios): polish sidebar drawer interaction * fix(ios): latch sidebar drag direction
Closes #111643
What Problem This Solves
Fixes an issue where iPhone and compact iPad users could see a different-colored surface in the rounded top and bottom of the open sidebar, a clipped or oversized Liquid Glass reveal control, and choppy interactive drawer tracking. The open drawer also lacked a consistent glass close affordance during the reveal.
This is a residual follow-up to #111831. That change stabilized the original recognizer ownership, but the compact drawer still moved a separate generic background alongside the destination and kept transient drag work coupled to the full root view.
Why This Change Was Made
The compact drawer now has one presentation owner. A dedicated stable shell owns the transient gesture session, the rounded full-bleed destination card, tap dismissal, and edge-open arbitration. The destination itself paints the rounded safe-area regions, so custom backgrounds remain continuous instead of revealing a generic grouped surface.
The reveal and close actions share one 44-point semantic control with a 36-point circular Liquid Glass visual. The open-state X stays structurally present through interactive reveal, but is only exposed to hit testing and accessibility when the drawer is actually open. The first meaningful drag direction is latched for the whole touch, preventing a rejected vertical scroll from turning into a drawer toggle at release.
User Impact
Sidebar drags now track as one card instead of two moving full-screen layers. The rounded top and bottom match the active destination background, the reveal control no longer clips against its toolbar slot, and the open drawer has a clear circular glass X. Users can also dismiss by dragging left from inside the sidebar, while pushed screens keep the native iOS back gesture.
Evidence
Before and after
Artifact manifest: https://artifacts.openclaw.ai/pr-ios-sidebar-glass-ui-polish-20260721/artifact-manifest.json
Exact-head verification
Exact pushed head:
96fed3aff1e4c033298a7a599edf54ef5f4fcf99git diff --checkpassed.patch is correct(0.93 confidence).