Skip to content

Rendering issue with input when characters are typed very fast #1565

@pepsighan

Description

@pepsighan

Version

3.0.0-beta.20

Reproduction link

https://github.com/pepsighan/sudoku

Flicker

Steps to reproduce

  • Run the app.
  • Go to the home page.
  • Select any one of the given cell.
  • Start typing numbers like crazy.

The input is expected to render only one character at a time. But once in a while, it will show 2 or 3 characters being rendered.
This did not happen in vue 2. Reproduction of the same thing in vue 2: https://codesandbox.io/s/admiring-glade-5uevy. Sorry, I could not create a vue 3 sandbox.

What is expected?

The input field should not render the value which is not in the v-model state.

What is actually happening?

The input field is rendering characters which are no longer in the state.

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