Skip to content

Collision detection should use transformed layouts for droppables #9

Open

Description

@martinpengellyphillips

Currently the original layout is used for droppable collision detection, but this can cause unnatural behaviour. For example, when sorting items of different heights.

Activity

  1. hnagrath09 commented on May 9, 2022

    @hnagrath09
    Contributor

    I was trying to use vertical sorting with draggables of different heights. It seems like this edge is not resolved yet. Draggables with larger heights are overlapped on top of other items.

    Reproduction: https://codesandbox.io/s/hardcore-shtern-wlexdo?file=/src/sortable.tsx

  2. martinpengellyphillips commented on May 9, 2022

    @martinpengellyphillips
    ContributorAuthor

    Yes. I had some support for that, but removed it to revisit the problem more holistically (see #32).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions