Repository navigation
fix(buddy): 输入材料条悬浮在输入框上方并避免高亮态透出聊天记录 - #392
Merged
shanyuhai123 merged 1 commit intoOct 19, 2026
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
背景与关联 / Context and related issue
主要改动 / Changes
DesktopChatComposer.vue中,没有排队消息(!hasQueuedMessages)时,材料条改为相对输入框容器绝对定位到上方(bottom: 100%),宽度随内容;有排队消息时保持原有的文档流布局,不遮挡排队消息。pointer-events: none,只有材料卡片和横向滚动条轨道接收鼠标事件,其余区域不拦截对话区的点击和滚动。--buddy-accent-surface带透明度,悬浮在聊天记录上方时会透出下面的文字。悬浮状态下把高亮色叠在实心的--buddy-surface-raised上,保持不透明。验证 / Verification
兼容与风险 / Compatibility and risks
不涉及数据、配置、授权或升级。样式改动限定在
DesktopChatComposer.vue的作用域样式内,其他位置复用的ChatInputMaterialStrip不受影响。建议重点检查:材料较多时的横向滚动,以及有排队消息时是否仍保持原布局。界面变更 / UI changes
悬浮在输入框上方的材料卡片(已裁剪,仅保留输入区域):
🤖 Generated with Claude Code