Pause sync while a stroke is in progress #1

Merged
brian merged 1 commit from fix-sync-interrupts-drawing into main 2026-06-11 21:09:26 +00:00
Owner

Continuous stroke saves plus the interval sync ran pull()/emitStatus()
(IndexedDB writes + full snapshot rebuild) mid-stroke. The resulting
main-thread jank delayed pointermove handling, and with touch-action:
pan-y the browser reinterpreted the drawing gesture as a page scroll.

Suspend syncing while the pen is down and flush once it lifts.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Continuous stroke saves plus the interval sync ran pull()/emitStatus() (IndexedDB writes + full snapshot rebuild) mid-stroke. The resulting main-thread jank delayed pointermove handling, and with touch-action: pan-y the browser reinterpreted the drawing gesture as a page scroll. Suspend syncing while the pen is down and flush once it lifts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Continuous stroke saves plus the interval sync ran pull()/emitStatus()
(IndexedDB writes + full snapshot rebuild) mid-stroke. The resulting
main-thread jank delayed pointermove handling, and with touch-action:
pan-y the browser reinterpreted the drawing gesture as a page scroll.

Suspend syncing while the pen is down and flush once it lifts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
brian merged commit 46c6e9d887 into main 2026-06-11 21:09:26 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brian/Journal!1
No description provided.