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

TreeTable: event propagation issue #4010

Closed
tobiasharth opened this issue May 31, 2023 · 0 comments
Closed

TreeTable: event propagation issue #4010

tobiasharth opened this issue May 31, 2023 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@tobiasharth
Copy link

Describe the bug

If you click on the toggle icon of a tree table row, since version 3.27.0 not only the node-expand event but also the node-select event is triggered.

Reproducer

https://stackblitz.com/edit/d4dusw-fhsgqf?file=src%2FApp.vue,package.json,index.html

PrimeVue version

3.29.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Open Stackblitz https://stackblitz.com/edit/d4dusw-fhsgqf?file=src%2FApp.vue,package.json,index.html
  2. Click on a toggle icon in the table
  3. Check browser console for expand and select logs

Expected behavior

Only the node-expand event should be fired, node-select should only be fired when you click on a line and not on the toggle icon.

@tobiasharth tobiasharth added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 31, 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 7, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.30.0 milestone Jun 7, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Jun 7, 2023
thielpa pushed a commit to thielpa/primevue that referenced this issue Jun 7, 2023
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

No branches or pull requests

2 participants