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

SplitButton: unexpected call of default action #3467

Closed
alexterenya opened this issue Dec 31, 2022 · 0 comments · Fixed by #3468
Closed

SplitButton: unexpected call of default action #3467

alexterenya opened this issue Dec 31, 2022 · 0 comments · Fixed by #3468
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@alexterenya
Copy link

Describe the bug

When you click on arrow to open grouped actions, it calls default (main) action as well.

Reproducer

https://primefaces.org/primevue/splitbutton

PrimeVue version

3.21.0

Vue version

3.x

Language

ES6

Build / Runtime

Vue CLI App

Browser(s)

Chrome

Steps to reproduce the behavior

Click the arrow on first "Save" button in official documentation page: https://primefaces.org/primevue/splitbutton, it fires Save event and open grouped actions.

Expected behavior

It should just open grouped actions without firing main actions simultaneously.

@alexterenya alexterenya added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 31, 2022
@bahadirsofuoglu bahadirsofuoglu 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 Dec 31, 2022
@bahadirsofuoglu bahadirsofuoglu self-assigned this Dec 31, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.22.0 milestone Jan 11, 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

Successfully merging a pull request may close this issue.

3 participants