Fix desktop model menu height clamping#520
Merged
Merged
Conversation
- Derive vendor and submenu list heights from available viewport space - Reuse the trigger side offset for menu collision calculations - Add boundary coverage for constrained and normal viewport layouts - Add the frontend layout test command
chenyme
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
修复桌面模型选择器在小视口下高度超过可用空间、导致列表内容被裁剪的问题。
统一 vendor 菜单与 model submenu 的高度计算逻辑,并补充 trigger 上下空间和极小视口边界测试。
Change type
Affected areas
Verification
pnpm --filter @deeix/web testgo test ./.../chat返回 HTTP 200/api/v1/version返回 HTTP 200Screenshots, API examples, or logs
本次为菜单布局和滚动高度修复,无需新增截图或 API 示例。
Configuration, migration, and compatibility notes
不涉及数据库迁移、API 契约或生产配置变更。
Documentation
Security and privacy
Checklist
.pycfiles,.envfiles, and local storage data are not committed.