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

Transition raises wrong invalid prop type check warning on array #1746

Closed
cathrinevaage opened this issue Jul 31, 2020 · 0 comments
Closed

Comments

@cathrinevaage
Copy link
Contributor

Version

3.0.0-rc.5

Reproduction link

https://codesandbox.io/s/vue-3-transition-event-prop-type-check-fault-wymsy

Steps to reproduce

Attach two different events handlers to the same event on transition

What is expected?

It should not raise an invalid prop type check warning

What is actually happening?

It raises a warning, saying it expected a function, but got an array.


Vue supports several event handlers attached to the same event, but Transition's prop definition doesn't accept it.
It should be changed to accept a function or an array of functions.

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

No branches or pull requests

1 participant