Skip to content

Filtering and then moving all options moves all filtered-out options as well #268

@lmendezr

Description

@lmendezr

Describe the bug
Filtering and then moving "all" items is also moving filtered-out options.

Reproduction steps

CodeSandbox example

  • Enable canFilter
  • Filter on any of the sides - available or selected
  • Click on move all from the filtered side
  • All options (visible and filtered-out options) will move

Expected behavior
Only visible options should be moved.

Note - This works as expected from left-to-right if you move them all back to the "filtered side" and try again without changing the filter. Does not work at all from right-to-left.

Screenshots
I grabbed a quick clip showcasing the bug in action:
https://www.loom.com/share/d7e6dab07847452699b59602bc126f63?sid=2831facb-0bd6-4bea-a034-8c30e78269dd

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions