A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix collapsed pane cannot be resized
Abdullah Atta23f710856ef5
diff --git a/apps/web/src/components/split-pane/index.tsx b/apps/web/src/components/split-pane/index.tsxindex 33b608978..1c91c6251 100644--- a/apps/web/src/components/split-pane/index.tsx+++ b/apps/web/src/components/split-pane/index.tsx@@ -308,6 +308,8 @@ export const SplitPane = React.forwardRef<const nextPane = paneSizes.current[i + 1];const rightBorder = sashPosSizes.current[i + 2];+ if (currentPane.collapsed) currentPane.collapsed = false;+if (currentPane.size + distanceX >= rightBorder)distanceX = rightBorder - currentPane.size;