web-infra-dev / web-infra-dev/midscene

[Bug]: The last level cannot be selected in cascader's multi-level multi-selection mode

Open
#3,040 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
14.9k
Forks
1.2k
Avg merge
1d 14h
Merged PRs (30d)
96

Description

Version
  System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
    Memory: 9.13 GB / 31.86 GB
  Browsers:
    Chrome: 151.0.7922.174
    Internet Explorer: 11.0.22621.3527
element-ui: 2.15.14
Details

在 element-ui 2.15.14 版本中,cascader 组件在多级多选模式下,无法选中最后一级选项。当展开到最深层级时,点击复选框没有反应,无法完成选择操作。

Reproduce link

https://element.eleme.cn/#/zh-CN/component/cascader

Reproduce Steps
  1. 使用 element-ui 2.15.14 版本
    1. 创建 cascader 组件并设置 multiple 为 true(多选模式)
    1. 展开到最深层级
    1. 点击最后一级的复选框
    1. 观察到无法选中最后一级选项

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cascader issue from the linked Element UI demo using element-ui 2.15.14, with multiple selection enabled and the deepest level expanded. Trace the cascader component behavior for the final-level checkbox and verify the fix by confirming that the last-level option can be selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.