Skip to content

Safari 下 DatePicker 在手动输入日期时移动页面,文档示例可复现 #2643

@moriwang

Description

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

Version

1.6.4

Environment

macOS 10.15.6, Safari 13.1.2

Reproduction link

https://www.antdv.com/components/date-picker-cn/#API

Steps to reproduce

  1. 将「基本」中的第一个示例移至浏览器中间位置。
  2. 手动输入 2020-08-05,在输入 5 时,第一个示例会自动滚动到下方。

What is expected?

不应该自动滚动页面

What is actually happening?

看起来是与 Safari 的兼容问题,Chrome 无此问题

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