Skip to content

fix: keep response syntax colors when focused - #83

Merged
RuoJi6 merged 1 commit into
mainfrom
codex/fix-response-color
Oct 29, 2026
Merged

RuoJi6 merged 1 commit into
mainfrom
codex/fix-response-color

Conversation

@RuoJi6

@RuoJi6 RuoJi6 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

修复重发器响应区点击后语法高亮消失、文本颜色变为普通前景色的问题。

原因:响应区使用透明 Textarea 叠加语法高亮层,但聚焦时通过 group-focus-within 隐藏高亮层并显示 Textarea 原文,导致点击响应后颜色变化。

修复:保持响应区高亮层可见,并让底层 Textarea 始终保持透明。

验证:git diff --check;远程工作区 TypeScript 检查已通过等价源代码验证。

@RuoJi6
RuoJi6 force-pushed the codex/fix-response-color branch from fe21f9d to 31a9db0 Compare October 29, 2026 16:37
@RuoJi6
RuoJi6 merged commit caab727 into main Oct 29, 2026
@RuoJi6
RuoJi6 deleted the codex/fix-response-color branch November 11, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant