primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.77k stars 1.03k forks source link

Picklist: When Items are moved to source or target, they are being still selected. #7333

Open AhmedKhaled590 opened 4 days ago

AhmedKhaled590 commented 4 days ago

Describe the bug

When Items in picklist are selected from whether source or target and moved to the other list, remain still selected causing bad UX. For example, here I moved Activity Code to the target List, it still remains selected, if I choose another item from the target, i.e. classes and clicked move to source, both are moved Note: I can't upgrade the used version. image

Reproducer

No response

System Information

primereact: 10.6.6
react: ^18.3.1

Steps to reproduce the behavior

You can run the example here, try to move any of the items from the source to target, then select new item from the target list, the item that was being recently moved still selected. https://stackblitz.com/edit/vitejs-vite-hcngdj?file=package.json

No response

Expected behavior

No response

github-actions[bot] commented 2 days ago

Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

AhmedKhaled590 commented 1 day ago

Hi @melloware, Kindly find an example that reproduce the stated issue: https://stackblitz.com/edit/vitejs-vite-hcngdj?file=package.json

melloware commented 1 day ago

Thanks updated it to Bug