Skip to content

Vue 3's v-on syntax does not support listening to custom events with capital letters #5401

Closed
@rictic

Description

@rictic

Version

3.2.30

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Notice that the event named 'lower' is being handled by the Vue component, but the event named 'Upper' is not

What is expected?

Event names are an open set, and can include capital letters

What is actually happening?

The event named with a capital letter is not handled


This issue seems to also occur with capital letters in other parts of the event name too

I am a rank Vue novice, and so I may be making a simple error or oversight.

This came up when updating the web site custom-elements-everywhere.com which tracks library and framework support for custom elements. See webcomponents/custom-elements-everywhere#1388

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