Skip to content

OrderList: Cannot reorder multi-selected items under specific condition #8171

@andik222

Description

@andik222

Describe the bug

Reordering multiple selected items does not work if step n is selected first and then step n‑1.
However, if step n‑1 is selected before step n, reordering works as expected.

Reproducer

No response

System Information

-

Steps to reproduce the behavior

Have a list of 4 items and multi-select item 3 and then 2 => trying to move them up or down isn't working.
If you select first item 2 and then 3 is moving up and down working.
Can be reproduced here: https://primereact.org/orderlist/

Expected behavior

No matter if I select step n or n-1 first in a multi-selection, the reordering should work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions