Skip to content

Sortable MultiSelect: Items are incorrectly deleted on touch device #4356

Closed
@ecrookoh

Description

@ecrookoh

Hi,
I have been trying to use the Sortable MultiSelect option, and have run into an issue when using it on a touch device.

I was able to reproduce the issue on the CodeSandbox for the Sortable MultiSelect example by opening Developer tools and emulating a responsive device. I was also able to reproduce this issue on a Android phone. In each case, I was using a Chrome browser.

CodeSandbox: Sortable MultiSelect

Issue: When on a touch device, rearranging the items in the multi select will sometimes call the "remove-item" function on the current item, removing it from the selected items array.

I believe it may happen when the "touchStart" event begins on the X to remove the item.

MultiSelect-LQ.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions