Skip to content

onchange doesnt fire when onchange and onkeydown used together for an input #15676

@sukeshpabolu

Description

@sukeshpabolu

Describe the bug

When I use onchange and onkeydown together in react, both onchange and onkeydown fire but in svelte onchange is firing only if I click outside of the input element.

Reproduction

svelte demo

react demo

Logs

System Info

svelte repl

Severity

annoyance

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