Drag ghost issues when moving blocks
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Start by reproducing the drag behavior with image, table, and multiline text blocks in a Chromium-based browser on macOS. Inspect the existing block drag-ghost entry point and verify that the preview preserves dimensions, borders, line breaks, repeat draggability, and reduced opacity across all listed cases.
索引モデルが issue の本文から書いたものです。
説明
What’s broken?
The drag ghost (the visual preview shown while dragging a block) has several rendering and behavior issues:
- Image block drag ghost is oversized. The drag ghost renders at a much larger size than the original block.
- Image block becomes undraggable after first drag. Once an image block has been dragged and dropped once, it can no longer be dragged again.
- Table block drag ghost lacks grid lines. The grid/borders are not visible in the drag ghost.
- Text block drag ghost does not preserve line breaks while dragging. The drag ghost collapses multi-line text onto a single line.
- No opacity reduction on drag ghost. Dragged elements render at full opacity, making it hard to distinguish the ghost from the actual page content.
What did you expect to happen?
- The drag ghost should match the original block's dimensions and styling (size, borders, line breaks).
- Image blocks should remain draggable after being moved.
- The drag ghost should have reduced opacity so users can clearly tell it apart from the underlying content. For reference, Notion applies opacity and preserves table grids in its drag previews.
Steps to reproduce
- Open a document containing image, table, and multi-line text blocks.
- Drag an image block. Observe the oversized ghost.
- Drop the image, then try to drag it again. Observe it is no longer draggable.
- Drag a table block. Observe the missing grid lines.
- Drag a multi-line text block. Observe collapsed line breaks.
- During any drag, note the lack of opacity difference between the ghost and the page content.
BlockNote version
No response
Environment
macOS 26.4 (25E246)
Additional context
Observed on macOS with Chromium-based browsers (Chrome, Arc, Dia).
Contribution
- I'd be interested in contributing a fix for this issue
Sponsor
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
- 主要言語
- TypeScript
- スター
- 10.2k
- フォーク
- 772
- 平均マージ
- 6日 21時間
- マージ済み PR(30日)
- 26
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TypeCellOS/BlockNote のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
TypeCellOS/BlockNote#2949 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TypeCellOS/BlockNote#2855 ·
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
TypeCellOS/BlockNote#2829 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TypeCellOS/BlockNote#2824 ·
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TypeCellOS/BlockNote#2811 ·
メンテナーはふだん 1 日以内に返信
TypeCellOS/BlockNote の issue をすべて見る
似ている issue
-
resources
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
railmapgen/rmg-palette#2445 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
danielmiessler/LifeOS#2242 ·
メンテナーはふだん 5 日以内に返信
-
good first issue hacktoberfest help wanted translation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/appduct#129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100