Skip to content

input使用前缀和后缀,输入失去焦点问题 #7886

@gongxi036

Description

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

Version

4.2.5

Environment

windows chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

我想要的功能就是,input 使用后缀,加上清空的图标 demo 中的 value3

当我输入值时,value有值,x图表显示,但是会把input 失去焦点

我试过其他情况,要前缀后缀都存在时,才不会出现问题

What is expected?

输入值,后缀显示,input 不会失去焦点

What is actually happening?

input 失去焦点,需要手动聚焦

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