Skip to content

Vue 2 does not chain event listeners like Vue 1 #3478

@frankdugan3

Description

@frankdugan3

Vue.js version

2.0.0-rc.2

Reproduction Link

Vue 1: https://jsfiddle.net/pkb7gnxu/
Vue 2: https://jsfiddle.net/xmqmqem0/1/

Steps to reproduce

The examples chain key listeners in Vue 1 and Vue 2: @keydown.enter.tab.prevent="incEvents"

Click in the input field, then press either tab or enter in both examples. Vue 2 does not behave the same as Vue 1.

What is Expected?

Vue 2 should chain listeners like Vue 1, or warn about bad syntax if that feature is deprecated.

What is actually happening?

Vue 2 ignores the events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions