Skip to content

Transformed SortableContext yields an offset drag overlay #464

Description

@ranbena

When offsetting a SortableContext with css transform (for instance, when an open sidebar pushes it sideways), the drag overlay gets wrongly positioned.

Screen Shot 2021-09-30 at 9 31 28

Sandbox demo https://codesandbox.io/s/dnd-kit-offset-b2744

Originally posted by @ranbena in #205 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsponsoredThis issue is a high-priority sponsored issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions