Skip to content

fix(registry): fix block drag handle displaying I-beam text cursor (#4535) - #5082

Closed
Samarth1306w wants to merge 1 commit into
udecode:mainfrom
Samarth1306w:fix/block-draggable-cursor-grab-4535
Closed

fix(registry): fix block drag handle displaying I-beam text cursor (#4535)#5082
Samarth1306w wants to merge 1 commit into
udecode:mainfrom
Samarth1306w:fix/block-draggable-cursor-grab-4535

Conversation

@Samarth1306w

@Samarth1306w Samarth1306w commented Aug 5, 2026

Copy link
Copy Markdown
  • Auto release

🎯 Summary

Fixes #4535 — Draggable cursor has "input cursor".

🔍 Root Cause Analysis

When hovering over or clicking the block drag handle in apps/www/src/registry/ui/block-draggable.tsx, slate-gutterLeft had cursor-text applied to its CSS classes, forcing the browser to display an I-beam input cursor over the drag handle icon instead of a drag pointer.

🛠️ Surgical Patch Breakdown

  1. apps/www/src/registry/ui/block-draggable.tsx:
    • Replaced cursor-text with cursor-pointer on slate-gutterLeft in Gutter component.
    • Added cursor-grab active:cursor-grabbing select-none to the drag handle Button component.
  2. .changeset/fix-block-draggable-cursor-grab.md: Added patch changeset for www registry UI.

🧪 Verification & Test Coverage

  • Cursor Verification: Drag handle displays proper grab cursor (cursor-grab) during hover and active grabbing cursor (active:cursor-grabbing) during drag operations.
  • Changeset Included: Patch changeset generated for www registry UI.
  • Clean Merge: Branch rebased cleanly against main with 0 conflicts.

…4535)

When hovering over or clicking the block drag handle, slate-gutterLeft had
cursor-text applied, causing the browser to display an I-beam input cursor.

Fix:
- Replace cursor-text with cursor-pointer on slate-gutterLeft in Gutter component.
- Add cursor-grab active:cursor-grabbing select-none to drag handle Button in block-draggable.tsx.
- Add patch changeset for www registry UI.

Closes #4535
@codesandbox

codesandbox Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 5, 2026
@changeset-bot

changeset-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cb1d017

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dosubot dosubot Bot added the patch Bugfix & documentation PR label Aug 5, 2026
@zbeyens zbeyens closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Bugfix & documentation PR size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Draggable cursor has "input cusor"

3 participants