jakezatecky / react-dual-listbox

A feature-rich dual listbox for React.
https://jakezatecky.github.io/react-dual-listbox/
MIT License
110 stars 58 forks source link

On Filter Search in right side box, on select option wrong object is moving. #189

Closed TECHIE404 closed 1 year ago

TECHIE404 commented 2 years ago

Describe the bug On Filter Search in the right side box, on selecting the option based on filter, the first element of the selected list is moving to the left box

Reproduction steps Create a list Move all objects to the Right side then search for any object by name then try to double click on it. On click objects, before the selected object is moving first is deleted from a selected list.

Expected behavior When on click on option after filter result then only those objects should be deleted from a selected list

Screenshots image

jakezatecky commented 1 year ago

Cannot reproduce with base properties.

However, if you have both simpleValues={false} and preserveSelectOrder, this does appear to be an issue (#142). Will work on a solution to that issue.

TECHIE404 commented 1 year ago

ok

On Wed, Oct 5, 2022 at 4:12 AM Jake Zatecky @.***> wrote:

Closed #189 https://github.com/jakezatecky/react-dual-listbox/issues/189 as completed.

— Reply to this email directly, view it on GitHub https://github.com/jakezatecky/react-dual-listbox/issues/189#event-7520519303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGYLXOKESBJBVPFC6LZHEGDWBSXEPANCNFSM5XT42OIQ . You are receiving this because you authored the thread.Message ID: @.*** com>