Skip to content

fix: Drag preview issues - #905

Merged
matthewlipski merged 2 commits into
mainfrom
drag-preview-do-fix
Jul 3, 2024
Merged

fix: Drag preview issues#905
matthewlipski merged 2 commits into
mainfrom
drag-preview-do-fix

Conversation

@matthewlipski

Copy link
Copy Markdown
Collaborator

This PR fixes 2 issues with the drag preview for blocks:

  1. Fixes a regression made in Update: ShadowRoot support #849 where the preview element was added to the DOM on drop instead of removed, cluttering the DOM with each drop.
  2. Fixes an edge case where drag previews were incorrectly displayed due to the preview element being outside of the editor.

@vercel

vercel Bot commented Jul 3, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jul 3, 2024 3:51pm
blocknote-website 🛑 Canceled (Inspect) Jul 3, 2024 3:51pm

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