Skip to content

禁用Textarea自适应高度在chrome中滚动条定位光标 #3418

@Atlas-lili

Description

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

Version

2.0.0-rc.2

Environment

ant-design-vue@2.0.0-rc.2 vue@3.0.4

Reproduction link

https://codepen.io/Atlas-lili/pen/yLaozJj?editors=001

Steps to reproduce

样本使用react版本,但在我在使用ant-design-vue同样存在该问题。

  1. 滚动至自适应的文本框上边缘超过视口
  2. 对偏上区域文本输入换行

What is expected?

希望可以禁用这种光标定位

What is actually happening?

在chrome中将滚动外层容器至光标贴近视口上边缘,在firefox中正常换行(不会调整容器滚动条)


希望可以有props选项禁用这种行为

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