Skip to content

Cannot register "capture" phase event handlers #714

Open
vuejs/core
#12675
@davidAtInleague

Description

🐛 Bug description

Event handlers using onXXX={withModifiers(..., ["capture"])} are not registered in "capture" mode.

📝 Steps to reproduce

Attempt to register an event handler using the readme's suggested syntax of withModifiers

Reproduction Link (required):
https://stackblitz.com/edit/vitejs-vite-c3hwy2?file=src%2FApp.vue,index.html

🏞 Desired result

Event handlers can be registered in capture mode.

🚑 Other information

#533

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