Skip to content

[Component] [select] Dropdown menu fails to expand when the el-select component is placed within a <label> element #16157

@yxb94616

Description

@yxb94616

Bug Type: Component

Environment

  • Vue Version: 3.4.21
  • Element Plus Version: 2.6.1
  • Browser / OS: Chrome/122.0.0.0 Safari/537.36 / Windows NT 10.0; Win64; x64
  • Build Tool: Vite

Reproduction

Related Component

  • el-select

Reproduction Link

Element Plus Playground

Steps to reproduce

When the el-select component is wrapped within a element, clicking the el-select component fails to expand the dropdown menu.

What is Expected?

el-select works normally when used within a .

What is actually happening?

The dropdown menu fails to expand when the el-select component is placed within a element.

Additional comments

(empty)

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