Skip to content

[Component] [anchor, dialog] Anchor 锚点默认选中第一个锚点未生效,而且继续上拉选中消失 #18062

@lihuiq

Description

@lihuiq

Bug Type: Component

Environment

  • Vue Version: 3.4.21
  • Element Plus Version: 2.7.6
  • Browser / OS: 谷歌
  • Build Tool: Vite

Reproduction

Related Component

  • el-anchor
  • el-dialog

Reproduction Link

Element Plus Playground

Steps to reproduce

直接进入页面下拉才会出现

What is Expected?

进入组件默认选中第一项,继续上拉选中不会消失

What is actually happening?

进入组件未默认选中第一项,继续上拉选中消失

Additional comments

(empty)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions