From a093c07d40b27f19965babd627ec57992e91310a Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 23:20:06 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g290=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ua/backlog.json | 9 +++++++++ .ua/iterations.log | 1 + 2 files changed, 10 insertions(+) diff --git a/.ua/backlog.json b/.ua/backlog.json index 35bdd59..a17aae3 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -2996,6 +2996,15 @@ "status": "done", "domain": "tune", "notes": "" + }, + { + "id": "g290", + "title": "抽出 trackShift 并接到下拉弹层", + "motivation": "g289 把滚动跟随写在了 tooltip 里,可下拉族(select / autoComplete / cascader / datePicker / timePicker / colorPicker / menu / multiSelect)用的是同一个 flip,同样只在打开那一瞬算一次——同一个缺陷被复制在九处,修一处等于只修了一份。先把监听逻辑抽成公共件,tooltip 用法不变(还顺手删掉了刚写的一整段重复代码),再给用量最大的 select 接上。", + "acceptance": "position.ts 新增 trackShift(onShift):捕获阶段监听 scroll + resize、rAF 节流、返回摘除函数并撤销待执行帧;tooltip 改用它(删除内联的 bound/raf/bind/unbind 五个变量,文件反而短了);select 展开期间接上 trackShift,收起即摘;两个组件的文档 steps 同步口径;npm run check 全绿", + "status": "done", + "domain": "tooling", + "notes": "" } ] } diff --git a/.ua/iterations.log b/.ua/iterations.log index 6c757fe..8dcd984 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -334,3 +334,4 @@ {"ts":"2026-10-26T23:17:28+08:00","id":"g287","result":"done","commit":"f388464","summary":"noticeBar 关闭先淡出再隐藏(减少动效只淡出),窄屏改换行停跑马灯,demo 文案据实修正"} {"ts":"2026-10-26T23:18:19+08:00","id":"g288","result":"done","commit":"003dae3","summary":"verify 的 steps 下限 3→4 并在报错里点明四步口径,badge/divider/kbd/highlight 补真实第四条,AGENTS 两处同步"} {"ts":"2026-10-26T23:19:03+08:00","id":"g289","result":"done","commit":"8dc7201","summary":"tooltip 出场期间挂 scroll(捕获)/resize 监听,rAF 节流重算翻转,收起即摘"} +{"ts":"2026-10-26T23:20:06+08:00","id":"g290","result":"done","commit":"9e72607","summary":"position.ts 新增 trackShift(捕获 scroll + resize、rAF 节流、可撤销帧),tooltip 改用它去掉内联重复,select 展开期间接上"}