Selectmenu changes selection after its native select is disabled while open
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, jquery
- 领域
- frontend
调研方向
首先,找到 Selectmenu 如何处理原生 select 在菜单打开时变为禁用状态的情况,然后检查与选择事件和 change 事件相关的测试。在 Chrome 中重现所述操作顺序:打开菜单,禁用 select,然后选择 Banana。完成条件是选择仍为 Apple,且没有发出选择事件或 change 事件。
由索引模型根据 Issue 内容生成。
描述
Reproduction
Initialize jQuery UI Selectmenu on a native select with Apple selected and Banana available. Open the menu, set the original select's disabled property to true, then click Banana.
The disabled select changes to Banana and Selectmenu emits selection and change events. It should keep Apple after disable.
Reproduced in Chrome using jQuery 4.0.0 against jQuery UI main at dcf1055. Reproduction video
- 主要语言
- JavaScript
- 星标
- 11.3k
- 派生
- 5.2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jquery/jquery-ui 的其他 Issue
-
Datepicker changes a natively disabled input if its calendar is open可能已有人在做 @Xapollon430 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
-
Behavior shared with 1.12 Comp: Datepicker
难度 4/5 3-5 天 新手友好度 48/100
-
Comp: Datepicker Needs info
难度 3/5 1-2 天 新手友好度 53/100
-
CSS variable stripped from calls to jQuery .css()可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Comp: Effects
难度 3/5 1-2 天 新手友好度 72/100
-
Needs info
难度 4/5 3-5 天 新手友好度 55/100
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
coder/claudecode.nvim#588 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
digitalbazaar/http-client#60 ·
-
Ruby: The link in the Blocks lesson points to an external article that isn't at that address anymore未关闭
难度 1/5 1 小时以内 新手友好度 84/100
TheOdinProject/curriculum#31529 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
topmonks/hlidac-shopu#3687 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ONLYOFFICE/DocumentServer#3912 · 1 条评论 ·