Skip to content

Last row of tagRender in Select has different vertical spacing to previous rows #33531

@hkleine

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. ) select enough entries to have at least three rows of tags

What is expected?

Expected all rows to have the same spacing.

What is actually happening?

Last row has a bigger spacing towards the top than the other rows.

Environment Info
antd 4.18.2
React 17.0.2
System Windows 10
Browser Google Chrome Version 96.0.4664.110

This behavior is caused by the cursor behind the last tag where you can click to search for more entries. This input field has a greater height than the actual tags.

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