Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picklist: Unexpected behavior on double click while holding control #4072

Closed
Tamas-hi opened this issue Jun 22, 2023 · 1 comment · Fixed by #4604
Closed

Picklist: Unexpected behavior on double click while holding control #4072

Tamas-hi opened this issue Jun 22, 2023 · 1 comment · Fixed by #4604
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Tamas-hi
Copy link
Contributor

Describe the bug

If I hold down control, and double click on an item in the source list (it occures the other way around as well), it will be put to the target list, however the PickListEvent.items will contain the moved item twice.
chrome-capture-2023-5-22
image
I think it shouldn't contain the same element twice, it doesn't make sense. Codesandbox example also shows this if you open console.

Reproducer

https://codesandbox.io/p/sandbox/primevue-demo-forked-qnj83h?welcome=true

PrimeVue version

3.29.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@Tamas-hi Tamas-hi added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 22, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jun 26, 2023
@SerxhioBekteshi
Copy link

Is there a way to disable the double click event on the list item of te picklist component?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants