ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
26.6k stars 2.23k forks source link

[Bug]: Drag and drop seems to be in the wrong position in the template #4926

Open kimproductions opened 6 months ago

kimproductions commented 6 months ago

Which packages did you experience the bug in?

drag-extension, nextjs

What Tiptap version are you using?

core 2.2.2

What’s the bug you are facing?

When clicking the menu to drag, the preview appears far to the right of the expected position. It seems to be in the middle of the dragged object, but the preview's top left corner should be nearer to cursor's position.

tiptap template:

image

expected position for example in notion:

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

the preview's top left corner should be nearer to cursor's position.

image

Anything to add? (optional)

No response

Did you update your dependencies?

Are you sponsoring us?

zocario commented 1 month ago

Hello, I'm facing the same issue, is there any news about this? It makes drag & drop less natural to have this wrong position when dragging elements. Thanks for your help!