π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: app sidebar project list dnd disabled when sidebar is collapsed (#4623)
Anmol Singh Bhatia5efa8264d821
diff --git a/web/components/project/sidebar-list-item.tsx b/web/components/project/sidebar-list-item.tsxindex 4d45a515fa..1d8a7a20cc 100644--- a/web/components/project/sidebar-list-item.tsx+++ b/web/components/project/sidebar-list-item.tsx@@ -186,7 +186,7 @@ export const ProjectSidebarListItem: React.FC<Props> = observer((props) => {return combine(draggable({element,- canDrag: () => !disableDrag,+ canDrag: () => !disableDrag && !isCollapsed,dragHandle: dragHandleElement ?? undefined,getInitialData: () => ({ id: projectId, dragInstanceId: "PROJECTS" }),onDragStart: () => {@@ -306,6 +306,7 @@ export const ProjectSidebarListItem: React.FC<Props> = observer((props) => {"group-hover:opacity-100": !isCollapsed,"cursor-not-allowed opacity-60": project.sort_order === null,flex: isMenuActive,+ hidden: isCollapsed,})}ref={dragHandleRef}