Skip to content

Flex box "align-items" or "justify-content" causes drop area not right #2339

Closed

Description

@awesomeWay

Describe the bug
List item is unable to be added properly to group container with either flex position properties align-content,flex-wrapaccompanied to flex parent.

To Reproduce
Steps to reproduce the behavior:

  1. Go to group css container that holds the list
  2. Change properties to following
 display: flex;
 flex-wrap: wrap;
 align-content: flex-start;

Expected behavior
w0jsp-bng1e

Information
sortablejs = ^1.15.1

Reproduction
codesandbox: https://stackblitz.com/edit/react-yqho1b?file=src%2Fstyle.css,src%2FCenter.js,src%2FLeft.js,src%2Findex.js

Activity

  1. owen-m1 commented on Dec 23, 2023

    @owen-m1
    Member

    The behaviour was changed recently to fix an edge case, can you revert back to 1.15.0. I'll need to work on another solution to fix this in a future update.

  2. added a commit that references this issue on Jan 13, 2024
  3. owen-m1 commented on Jan 14, 2024

    @owen-m1
    Member

    Now fixed in 1.15.2

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions