web-infra-dev / web-infra-dev/midscene
[Bug]: The last level cannot be selected in cascader's multi-level multi-selection mode
Open
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
- 使用 element-ui 2.15.14 版本
-
- 创建 cascader 组件并设置 multiple 为 true(多选模式)
-
- 展开到最深层级
-
- 点击最后一级的复选框
-
- 观察到无法选中最后一级选项
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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