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/OverlayPanel: OverlayPanel won't open from default call by SplitButton #3750

Closed
hollyfoxx opened this issue Mar 14, 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

@hollyfoxx
Copy link

Describe the bug

When the call to toggle/show OverlayPanel is made by SplitButton default action, an error occurs:
Cannot read properties of undefined (reading 'currentTarget')

Reproducer

https://codesandbox.io/s/splitbutton-wont-open-overlaypanel-bvyhrr?file=/src/App.vue

PrimeVue version

3.25.0

Vue version

3.x

Language

TypeScript

Build / Runtime

TypeScript

Browser(s)

No response

Steps to reproduce the behavior

  1. Click on default button (in example, 'Main Action')

Expected behavior

Overlay panel opens on default action with no error.

@hollyfoxx hollyfoxx added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 14, 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 Mar 17, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.26.0 milestone Mar 17, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Mar 17, 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