iter(g289): 气泡跟随滚动重算翻转

This commit is contained in:
HIsheR
2026-10-26 23:19:02 +08:00
parent d6105d9801
commit 8dc7201eb4
4 changed files with 37 additions and 5 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
{
"$schema": "ui-arch-registry-index/0.1",
"generatedAt": "2026-10-26T15:18:04.340Z",
"generatedAt": "2026-10-26T15:18:47.384Z",
"repoRoot": ".",
"packages": [
{
@@ -1323,7 +1323,8 @@
"鼠标悬停或键盘聚焦后延迟 delay 毫秒出场,移出 / 失焦 / Esc 收起;空间不足时自动翻到另一侧",
"触摸屏没有 hover:手指按下即出场,抬手后停留 1.2 秒再收起,免得手指正挡着就消失",
"气泡设了 pointer-events: none,不会挡住下面的点击;aria-describedby 已关联,读屏能念出提示文案",
"方位支持上下左右四向:贴边或工具栏竖排时用 left / right,出场时按该方向剩余空间自动翻到对侧"
"方位支持上下左右四向:贴边或工具栏竖排时用 left / right,出场时按该方向剩余空间自动翻到对侧",
"出场期间滚动页面或任意滚动容器,气泡会按视口重算上下翻转(rAF 节流);收起后监听立即摘掉,不在关闭态空转"
]
},
{