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

fix(picklist): emit events for mouse and keyboard selection #17638

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

infe42
Copy link
Contributor

@infe42 infe42 commented Feb 11, 2025

Fixes #17323

This PR removes a lot of code from the PickList component that tries to deal with selection and focus - which is already done by the ListBox component itself. Also, some of this code was actually never used (like onItemClick).

After this PR the PickList component also emits events for selection changes again, which fixes the bug mentioned above.

…n and focus related code from PickList; emit events when selection is changed
Copy link

vercel bot commented Feb 11, 2025

@infe42 is attempting to deploy a commit to the primetek Team on Vercel.

A member of the Team first needs to authorize it.

@infe42 infe42 changed the title Feature/picklist selection fix(picklist) emit events for mouse and keyboard selection Feb 11, 2025
@infe42 infe42 changed the title fix(picklist) emit events for mouse and keyboard selection fix(picklist): emit events for mouse and keyboard selection Feb 11, 2025
@mertsincan mertsincan added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PickList onTargetSelect and onSourceSelect not wroking with mouse selection
2 participants