Select accepts selection after becoming disabled while open
维护者通常 2 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- react, scss, typescript
- 领域
- frontend
调研方向
Work is already under way in linked pull request #5232, so read that first and avoid duplicating it. The issue's reproduction is in the linked external repository and shows the Select staying open after the application sets disabled. Done means a disabled Select rejects option selection while its popup is open, and onChange does not fire. Confirm the behaviour against the reproduction before relying on the PR.
由索引模型根据 Issue 内容生成。
描述
If Select becomes disabled while its popup is open, the existing options can still change the selection and fire onChange. The control should reject user selection once it is disabled.
Reproduction
- Click Disable in 3 seconds, then open the Select.
- Wait for Disabled: true.
- Click Orange. The selection changes from Apple to Orange while the control remains disabled.
Recorded against @cloudscape-design/components 3.0.1408. Runnable reproduction includes the required styles and setup.
https://github.com/user-attachments/assets/d08be1e5-846f-4384-8c9e-b85950836028
Tested in Chromium on macOS. The application toggles disabled; popup state is managed by the library.
- 主要语言
- TypeScript
- 星标
- 2.7k
- 派生
- 248
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 90
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudscape-design/components 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
cloudscape-design/components#5244 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
cloudscape-design/components#5184 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
cloudscape-design/components#5152 · 1 条评论 ·
维护者通常 2 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 15/100
cloudscape-design/components#5149 · 1 条评论 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 45/100
cloudscape-design/components#5117 · 2 条评论 ·
维护者通常 2 天内回复
查看 cloudscape-design/components 的全部 Issue
相似的 Issue
-
test-reliability
难度 2/5 1-3 小时 新手友好度 78/100
Azure/azure-sdk-for-js#40672 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
HarperFast/studio#2067 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 76/100
liberation-data/drivine#639 · 2 条评论 ·
维护者通常 1 天内回复