Skip to content

The drop-down box will disappear when using a-input to get the focus in the a-select component custom menu dropdownRender #6133

Closed
@HavocZhang

Description

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

Version

3.2.14

Environment

windows,所有浏览器

Reproduction link

https://www.antdv.com/components/select-cn/#components-select-demo-custom-dropdown

Steps to reproduce

在a-select组件自定义菜单dropdownRender中使用a-input获取焦点时下拉框会消失,如果使用@mousedown="e => e.preventDefault()"又无法获取a-input焦点

What is expected?

看了ant.design5.0.3希望能做到和这里面扩展菜单一样的样例
https://stackblitz.com/run?file=demo.js

What is actually happening?

看了之前提的这个问题,都没有解决

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