Skip to content

[BUG] Draggable direction is incorrect when parent container is rotated #3320

@rromecaster-figma

Description

@rromecaster-figma

2. Describe the bug

When a draggable is in a rotated parent container, the draggable direction is wrong.

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug

https://playcode.io/2465463

4. Steps to reproduce

Steps to reproduce the behavior:

  1. Go to https://playcode.io/2465463
  2. Drag the white square
  3. Observe

5. Expected behavior

The white square should move with the mouse. Instead it moves opposite to the mouse.

6. Video or screenshots

Screen.Recording.2025-07-18.at.6.28.43.AM.mov

7. Environment details

I don't think this is applicable, but Chrome on Mac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions