Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: scrolling issue in folder properties

Ilian Sapundshievf54d6cbdd80b
diff --git a/src/renderer/components/EntryContainer.tsx b/src/renderer/components/EntryContainer.tsx
index 505bfa6cc..71480ba56 100644
--- a/src/renderer/components/EntryContainer.tsx
+++ b/src/renderer/components/EntryContainer.tsx
@@ -627,7 +627,14 @@ function EntryContainer() {
);
}
- // Panel closed or folder entry — simple column layout, no splitter.
+ // Folder entry — no preview, topPane fills the container so
+ // EntryContainerTabs has a bounded height and TsTabPanel can scroll.
+ if (!openedEntry.isFile) {
+ return <Box sx={{ height: '100%' }}>{topPane}</Box>;
+ }
+
+ // File with panel closed — topPane sizes to its content (title +
+ // tab strip), fileView gets the remaining height.
return (
<Box
sx={{