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

Dropdown component: when the following menu has a click event, the console will give a warning #5127

Closed
1 task
sugubei opened this issue Jan 6, 2022 · 1 comment
Labels

Comments

@sugubei
Copy link

sugubei commented Jan 6, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.0-beta.5

Environment

vue3 typescript

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Enter the page and click click click me. There will be a warning in the console

What is expected?

There are no warnings on the console

What is actually happening?

Console printing: Invalid prop: type check failed for prop "onClick". Expected Function, got Array

@github-actions
Copy link

github-actions bot commented Jan 7, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant