vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜

Home Page:https://antdv.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input box component show count attribute, select input box cursor position incorrect

songjinlin123 opened this issue · comments

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

Version

4.2.1

Environment

window

Reproduction link

https://www.antdv.com/components/input-cn

Steps to reproduce

The show count property of the input box component loses focus and clicks on a text below the input box again. The cursor position is incorrect, and the text inside the input box suddenly changes, resulting in a positional error

What is expected?

When there is a lot of text in the input box component with the show count attribute, when the focus is lost and a text is clicked again under the input box, the cursor position is incorrect, and the text inside the input box suddenly changes, resulting in an incorrect position

What is actually happening?

The show count property of the input box component loses focus and clicks on a text below the input box again. The cursor position is incorrect, and the text inside the input box suddenly changes, resulting in a positional error