Fix text disappearing during selection in deployment logs
Ensure initial render happens even when selection is active by checking if element already has content before skipping re-render. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
36d7844989
commit
d40c2caca2
1 changed files with 2 additions and 1 deletions
|
|
@ -63,7 +63,8 @@
|
||||||
},
|
},
|
||||||
renderHighlightedLog(el, text) {
|
renderHighlightedLog(el, text) {
|
||||||
// Skip re-render if user has text selected in logs (preserves copy ability)
|
// Skip re-render if user has text selected in logs (preserves copy ability)
|
||||||
if (this.hasActiveLogSelection()) {
|
// But always render if the element is empty (initial render)
|
||||||
|
if (el.textContent && this.hasActiveLogSelection()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue