Replies: 3 comments
|
QuestionComposer 里问题正文 question.question 是放在 header 里的,而 header 设置了 flex-shrink: 0;整个卡片又有 max-height: min(60vh, 520px) 和 overflow: hidden,目前只有下面的 body/选项区域可以滚动。 所以如果是问题文本本身特别长,header 会占掉大量高度,底部的选项/按钮就有可能被裁出可视区域。 之前 850cbe9 这个提交修过“选项很多导致底部按钮不可见”的问题,但看起来没有覆盖“question 本身特别长”的情况。 临时可以让 Agent 尽量把判断问题写短一点;前端这边可能需要给标题区域也做高度限制/滚动,或者让长问题进入可滚动区域。 如果方便的话可以再提供一下 DSH 版本、浏览器和页面缩放比例,应该更容易复现。 |
|
I verified this against the rc.2 The complete card has: max-height: min(60vh, 520px);
overflow: hidden;The header that contains This also explains why “only one choice” is not the root cause: even one option can disappear when the fixed header takes the available height. Safe recovery now
Repair boundaryThe question content must join the bounded scroll owner, or the header itself needs a bounded accessible scroll region. A visual clamp alone is insufficient if it hides the full question from keyboard or screen-reader users. Regression coverage should include 200% zoom, long unbroken text, Markdown, localized copy, one/many/no predefined options, validation errors, and collapse/expand draft preservation. We added a source-linked visual guide and full operator runbook here: https://sandbaseai.github.io/deepseek-harness-handbook/missing-question-card.html Pinned source: |
|
我把这个确切的布局边界做成了一个可复核的 reference implementation,基于官方
真实 Chromium 基线复现(900×600):卡片上限 360px,但长问题 header 达到 2681px,选项 body 变成 0px;唯一选项、Submit 和 footer 都在卡片外。因此“只有一个方案”不是根因,根因确实是固定 header 吃掉了整个可用高度。 该提交:
浏览器验收覆盖普通视图、模拟 200% zoom,以及 200% 下的无断点长文本:选项与 Submit 均保持在卡片内,heading 可滚动读取全文,且没有横向溢出。 验证:该包 43/43 tests、全仓 TypeScript typecheck、package bundle、定向 oxlint、diff/pre-commit,以及 push 前 host/client contracts typecheck 全部通过;另有一次独立 exact-head review,未发现阻塞性的无障碍或布局回归。 这是已验证的参考实现,不是上游已合并声明。 |
Uh oh!
There was an error while loading. Please reload this page.
DSH让我判断的问题太长了,导致按钮不见了。只有一个方案选择。没有按钮和选项。导致我只有先暂停再看了决定。是不是前端页面适配的不对
All reactions