Skip to content

input-number using precision attribute was formatted before losing focus in high level of safari #7268

@Gcalolin

Description

@Gcalolin
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

the problemcan be reproduced directly on the official website.

Reproduction link

https://next.antdv.com/components/input-number-cn/#components-input-number-demo-digit

Steps to reproduce

https://next.antdv.com/components/input-number-cn/#components-input-number-demo-digit

What is expected?

in safari, input-number using precision attribute should be formatted after blur but should not be formatted when inputing

What is actually happening?

After testing, it was found that it works fine on Safari 13.1.3, but on Safari 16.5, it will be formatted before losing focus.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions