Skip to content

refactor(web): remove cursor styling from interaction engine#1886

Merged
tyler-dane merged 3 commits into
mainfrom
fix/cursor-2
Jun 27, 2026
Merged

refactor(web): remove cursor styling from interaction engine#1886
tyler-dane merged 3 commits into
mainfrom
fix/cursor-2

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

It wasn't doing anything anyway.

@tyler-dane tyler-dane changed the title refactor: cursor style refactor(web): remove cursor styling from interaction engine Jun 27, 2026
@tyler-dane
tyler-dane marked this pull request as ready for review June 27, 2026 02:27
@tyler-dane
tyler-dane merged commit 9800591 into main Jun 27, 2026
9 checks passed
@tyler-dane
tyler-dane deleted the fix/cursor-2 branch June 27, 2026 02:28
tyler-dane added a commit that referenced this pull request Jul 14, 2026
PR #1886 removed cursor styling from the interaction engine with nothing
replacing it, so once the pointer strays off-grid mid-drag (e.g. over the
header or sidebar while crossing weeks), whatever element sits under the
pointer wins the cursor fight and the drag looks broken/disconnected.

Restore the lockGlobalCursor util from 4cdba1c (never merged): it adds
a cursor-<value> class to <html> backed by a runtime-injected
`* { cursor: <value> !important }` rule, which beats every card/grid
cursor-* class regardless of what's under the pointer. Wire it through
FloatingDraftEvent mount/unmount, the Week + Day adapters
(move/col-resize/row-resize per target), and the legacy Week draft path.

Closes #1786

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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