Skip to content

Cascader - Warning: Encountered two children with the same key, 'seperator' #33183

@dimbslmh

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Use the search box to search for "o". Open Console to see errors.

What is expected?

No errors.

What is actually happening?

Warning: Encountered two children with the same key, 'seperator'. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

Environment Info
antd 4.17.2
React 17.0.2
System Manjaro Linux 5.23.3
Browser Chromium Version 96.0.4664.45 (Official Build) snap (64-bit)

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