Skip to content

RectIntersection is not working with draggable items inside a scrollable container #43

Closed
@jeserodz

Description

@jeserodz

The draggable items that are scrolled are not calculating the intersectionRatio correctly.

Please, see this code sandbox for an example: https://codesandbox.io/s/react-dnd-grid-0ylzl?file=/src/App.js

NOTE: Try dragging the last draggable item into one droppable area.

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