dnd icon indicating copy to clipboard operation
dnd copied to clipboard

Wrong positioning of the dragged item in Firefox

Open AlexDaniel opened this issue 1 year ago • 2 comments

Steps to reproduce

  1. Use firefox
  2. Try any example, e.g. https://dnd.hellopangea.com/?path=/docs/examples-single-vertical-list--basic
  3. You will see that the position of the currently dragged item is wrong

Examples: Peek 2023-05-31 11-38

Peek 2023-05-31 11-39

AlexDaniel avatar May 31 '23 08:05 AlexDaniel

To be clear, the same examples in react-beautiful-dnd (e.g. https://react-beautiful-dnd.netlify.app/?path=/story/single-vertical-list--basic) work correctly.

AlexDaniel avatar May 31 '23 08:05 AlexDaniel

I had similar issues with the offset, but only when it was in a React portal, so maybe it was a different issue. Anyway I fixed the issue by following some of the advice in this thread https://github.com/atlassian/react-beautiful-dnd/issues/1881

jessebrennan avatar Jul 25 '23 16:07 jessebrennan