refactor(web): remove cursor styling from interaction engine#1886
Merged
Conversation
tyler-dane
marked this pull request as ready for review
June 27, 2026 02:27
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It wasn't doing anything anyway.