8000 AutoComplete 输入一个字符光标会自动消失/丢失focus · Issue #8085 · vueComponent/ant-design-vue · GitHub
[go: up one dir, main page]

Skip to content
AutoComplete 输入一个字符光标会自动消失/丢失focus #8085
Open
@jasonren0403

Description

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

Version

4.2.6

Environment

vue: 3.5.13

Reproduction link

https://jasonren0403.github.io/antdv-autocomplete-placeholder-toolong/

Steps to reproduce

直达Pages

还是在之前那个autocomplete复现仓库中,在name2中输入opt,会正常弹出选项,输入3也会正常显示选项,且可以继续输入;在name1和collapse组件中的auto-complete的输入无论是111(选项有此字符串)还是333(选项无此字符串)都无法正常完成输入

What is expected?

即使没有任何匹配的选项,光标也不至于跳出auto-complete组件

What is actually happening?

输入完一个字符,该组件就失焦了,导致无法正常完成输入

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

      0