Skip to content

align-items: baseline causes odd behaviour #574

@evoactivity

Description

@evoactivity

Describe the bug
When a sortable list has align-items: baseline as part of it's CSS, items jump to a different position when dragging begins and jump back when dragging ends.

Also I am seeing behaviour where an item is moved to the beginning of the row when it wasn't interacted with.

To Reproduce

Create a sortable flex list in a grid with align-items: baseline

Expected behavior
Items should remain in their rendered position and move predictably.

Screenshots

drag.mp4

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