дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
fix(vcs): keep the log mounted while another Git tab is shown (#5454)
Switching between Console / Worktrees and Log in the Git tool window stuttered on every click of Log: the log view was unmounted whenever another tab was shown and rebuilt on return. The log now stays mounted (inert and unfocusable) while hidden; switching back takes ~33 ms instead of 70–100 ms.
Цей коміт міститься в:
1 джерело
2f8d5f5118
коміт
de11bc02f1
3 files changed
+65
-5
No files matched your search
@@ -1,9 +1,26 @@
|
||||
.root {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
/* Absolute in both states, so hiding and showing the log doesn't lay it out again. */
|
||||
.logHost {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.logHidden {
|
||||
content-visibility: hidden;
|
||||
z-index: -1;
|
||||
}
|
||||
/* WebKit leaves a stale selection highlight on a subtree whose rendering was skipped when the selection cleared. */
|
||||
.logHidden[data-selection] {
|
||||
content-visibility: visible;
|
||||
opacity: 0;
|
||||
}
|
||||
.headerTabs {
|
||||
min-width: 0;
|
||||
border: 0;
|
||||
|
||||
Reference in new issue
Заблокувати користувача