Skip to content

List "action" property doesn't work with "onOrder" #6341

@navistonks

Description

@navistonks

Expected Behavior

The action should be aligned with the rest of the list, even if you have an onOrder property.

Actual Behavior

action and onOrder don't work together.

URL, screen shot, or Codepen exhibiting the issue

CodeSandbox Displaying the Issue: https://codesandbox.io/s/grommet-v2-template-forked-7l1mgp?file=/index.js

With onOrder:
image

Without onOrder:
image

Steps to Reproduce

  1. Create a List component
  2. Add an action property
  3. Add an onOrder property
  4. The list will be unaligned

Your Environment

  • Grommet version: 2.25.1
  • Browser Name and version: Google Chrome
  • Operating System and version (desktop or mobile): Desktop

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