Skip to content

Using a keyCode with v-on is no longer supported #807

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

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

skirtles-code
Copy link
Contributor

@skirtles-code skirtles-code commented Jan 14, 2021

Description of Problem

Support for using keyCode with v-on has been removed in Vue 3 but it was still mentioned in the guide to render functions.

Proposed Solution

I've removed the reference to .13, switched the examples to use event.key rather than event.keyCode, and generally tried to tidy up the table to make it a little easier to read.

Rendered: https://deploy-preview-807--vue-docs-next-preview.netlify.app/guide/render-function.html#event-modifiers

@NataliaTepluhina NataliaTepluhina merged commit 7745e70 into vuejs:master Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants