Skip to content

@tailwindcss/upgrade renames blur event name to `blur-sm' within <script> block in .vue files #17769

@greegus

Description

@greegus

What version of Tailwind CSS are you using?

v4.0.6

What build tool (or framework if it abstracts the build tool) are you using?

Vite 6.1.0

What version of Node.js are you using?

v22.0.0

What browser are you using?

What operating system are you using?

macOS

Reproduction URL

Describe your issue

Running npx @tailwindcss/upgrade in order to upgrade to v4 in our Vue project also renamed the blur event name to blur-sm in the following sample within the <script> block.

editor.value.view.dom.addEventListener('blur', () => {
  emit('blur')
})

After the automated migration:

editor.value.view.dom.addEventListener('blur-sm', () => {
  emit('blur-sm')
})

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