修复询问卡发送后仍回闪:点发送即收起本轮卡,并避免 loading 用旧 waitingReason 重绘。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-31 00:57:13 +08:00
parent 6392af54b4
commit 00dfcb6615
3 changed files with 73 additions and 11 deletions

View File

@@ -722,8 +722,8 @@ body[data-lifecycle="play"] .panel-agent { background: #f7fef9; }
min-height: 0;
}
.questions-card-host[hidden] { display: none !important; }
/* 开启时占 feed 剩余高度的上限,不把整页撑出视口 */
.questions-card-host.is-open {
/* 开启时占 feed 剩余高度的上限,不把整页撑出视口;勿与 [hidden] 并存抢 display */
.questions-card-host.is-open:not([hidden]) {
display: flex;
flex-direction: column;
max-height: 48%;