chore(backlog): 记录 g289 完成

This commit is contained in:
HIsheR
2026-10-26 23:19:03 +08:00
parent 8dc7201eb4
commit da166af7c3
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2987,6 +2987,15 @@
"status": "done",
"domain": "tooling",
"notes": ""
},
{
"id": "g289",
"title": "tooltip 出场期间跟随滚动重算翻转",
"motivation": "气泡是 wrap 内的绝对定位,滚动时跟着触发器走没问题;问题在翻转判定——flipSide 拿的是视口几何,只在出场那一瞬算一次。用户滚一下页面,原本「朝上放不下所以朝下」的判断可能已经反过来,气泡就压在视口边上;反过来也一样。这是只在滚动后才显形的错位,代码评审很容易漏过。",
"acceptance": "出场期间挂 scroll(捕获阶段,容器滚动不冒泡)+ resize 监听,rAF 节流重算 flipSide;收起时立即摘监听(关闭态不空转),重复出场不重复绑定;tooltip 文档 steps 补该行为;npm run check 全绿",
"status": "done",
"domain": "tune",
"notes": ""
}
]
}