Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vue docs Animating with Watchers example causes precision errors for large numbers (floating point limit) #3229

Open
@70928manson

Description

Problem:
In the Vue official documentation (Animation Techniques - Animating with Watchers), when typing a very large number like 9999999999999999, the number animation becomes inaccurate because of JavaScript floating-point limits.

Image

Steps to Reproduce:

  1. Open the Animation Techniques - Animating with Watchers page.
  2. Enter a very large number (e.g., 9999999999999999).
  3. See the displayed number is wrong.

Expected:
The animation should either prevent too large numbers or mention this limitation.

Suggestion:

  1. Limit input range (below Number.MAX_SAFE_INTEGER)
  2. Add a note explaining floating-point limits.

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

        AltStyle によって変換されたページ (->オリジナル) /