Skip to content

Keep the Ask Alpha sheet under the finger during opening - #2406

Draft
lalalune wants to merge 1 commit into
developfrom
codex/ota-dock-flick-develop
Draft

lalalune wants to merge 1 commit into
developfrom
codex/ota-dock-flick-develop

Conversation

@lalalune

@lalalune lalalune commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Why

A successful push to main should cut an OTA release automatically. The Chromium verification for the current release exposed a case where Ask Alpha stopped following the finger during an opening animation. Failed main verification

Change

A drag that crosses the movement threshold now takes the sheet from its visible position and retires the previous animation group. Its completion callback respects the new owner. A tap can still finish the opening normally.

The existing flick journey now covers an opened sheet and a sheet held partway through its real opening animation. Both cases check the finger position, fading header and final bar. The settled case waits for the rendered sheet to finish opening.

Verification

On the original application, the settled case passed. The interrupted case missed the expected edge by 543 pixels on the first movement. Both cases passed in Chromium with the fix.

pnpm --filter @repo/app exec vitest run --project browser test/dock.browser.test.tsx -t 'Flick an open sheet'

This branch is being deployed

1 in progress deployment
turbo-cache-read — 1895c103 Deployed Dec 4, 2026 by lalalune via build #5846
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