Skip to content

Snappy effect when gap is used in flexbox, instead of margin-right on children elements. #2090

Open
@smitbarmase

Description

@smitbarmase

Expected behavior

When used gap, with flex it should work properly and similar to margin-right property.

Actual behavior

It actually creates the snappy effect.

Steps to reproduce

Add gap property in the parent div and make it flexbox. Remove margin-right or another margin from children.

Suggested solution?

No idea.

What version of React are you using?

17.0.1

What version of react-beautiful-dnd are you running?

13.0.0

What browser are you using?

Microsoft Edge

Demo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions