feat: Make tabs auto expand and contract and scroll

This commit is contained in:
LukeGus
2025-10-22 11:57:20 -05:00
parent 0e8beaaa64
commit f9411bec00
4 changed files with 59 additions and 51 deletions

View File

@@ -133,23 +133,10 @@ export function AppView({
const isJustReorder =
!lengthChanged && tabIdsChanged && !currentTabChanged && !splitChanged;
console.log("AppView useEffect:", {
lengthChanged,
currentTabChanged,
splitChanged,
tabIdsChanged,
isJustReorder,
willCallHideThenFit:
(lengthChanged || currentTabChanged || splitChanged) && !isJustReorder,
});
if (
(lengthChanged || currentTabChanged || splitChanged) &&
!isJustReorder
) {
console.log(
"CALLING hideThenFit - this will set ready=false and cause Terminal isVisible to become false!",
);
hideThenFit();
}