Skip to content

<Select /> with OptGroup in "tags" mode dropdown values display issue #795

Open

Description

@seki2020

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Type in 'g1v1'
  2. The problem shows.

What is expected?

Since the g1v1 is equals to the searching keyword, the first line of the dropdown menu should hide.

What is actually happening?

The first line of dropdown options was shown.

Environment Info
antd 4.21.6
React 17
System win10 21H2
Browser chrome 103.0.5060.114

image

Is there anyone has similar experiences?
Thank you.

Activity

  1. KingPengZero commented on Mar 20, 2023

    @KingPengZero

    me too,mode=tags,I have the same problem

  2. houzhitaohzt commented on Jul 23, 2025

    @houzhitaohzt

    me too,mode=tags,I have the same problem,
    Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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