iter(g43): select/menu/popover/image 的 Esc 接入统一弹层栈

This commit is contained in:
HIsheR
2026-10-26 11:57:50 +08:00
parent f0b115db94
commit fc8a541fe6
5 changed files with 37 additions and 17 deletions
+2
View File
@@ -701,5 +701,7 @@
"status": "done",
"notes": "自补:组件补充;新增 sec-pagination 演示区块"
}
,
{ "id": "g43", "title": "select/menu/popover/image 的 Esc 接入统一弹层栈", "motivation": "四个弹层组件各自监听 document 的 Esc:多层叠加(如 popover 内再开 image 预览)时一次 Esc 全部关闭,与 modal/drawer 的 pushOverlay 栈行为不一致", "acceptance": "四个组件展开期入 Esc 栈、收起即释放;多层叠加时 Esc 后进先出逐层关闭;焦点归还触发器;npm run check 全绿", "status": "done", "notes": "自补:一致性修复;复用 overlay.ts 的 pushOverlay 栈" }
]
}