dnd-kit icon indicating copy to clipboard operation
dnd-kit copied to clipboard

experimental version: issue caused by the popover when using scaled element

Open mamged opened this issue 9 months ago • 1 comments

Hi Team,

I used this demo https://codesandbox.io/p/sandbox/beautiful-zhukovsky-thnc4t to demonstrate the issue. I just added transform: scale(0.2) to the root element. if you tried to drag an element or a column it will not respect the scaling and the item or the column will reset to the normal scale and font size and width and height and top and left values. after a bit of research I found that the popover is causing this issue.

it would be great if the popover can be fixed or make an option to disable it.

mamged avatar Mar 24 '25 14:03 mamged

Yes... I wish there would be an option to provide the parent scale manually...

https://github.com/user-attachments/assets/381ec629-694f-4bf4-95f1-adfa458a23e4

baptisteArno avatar Nov 04 '25 14:11 baptisteArno