From 6b02f3fbbc6ecb22ba54ebf0fe3acc5409869f0d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 6 Sep 2026 21:07:04 +0900 Subject: [PATCH] fix: Anchor the reorder drop cursor to the membership row Passed as a child it rendered outside the row's positioned wrapper, so every cursor collapsed to the bottom of the section and never appeared between rows. cursorAfter places it inside the row's Relative, as DocumentLink does. Co-Authored-By: Claude Fable 5 --- .../Sidebar/components/DocumentMembershipLink.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/components/Sidebar/components/DocumentMembershipLink.tsx b/app/components/Sidebar/components/DocumentMembershipLink.tsx index d3d1b26249..3cb1556fe7 100644 --- a/app/components/Sidebar/components/DocumentMembershipLink.tsx +++ b/app/components/Sidebar/components/DocumentMembershipLink.tsx @@ -264,6 +264,14 @@ function DocumentMembershipLink({ membership, depth = 0 }: Props) { parentRef={parentRef} dropToReparentRef={dropToReparent} isActiveDropTarget={isOverReparent} + cursorAfter={ + reorderProps.isDragging ? ( + + ) : undefined + } menu={menu} menuOpen={menuOpen} canCreateChild={can.createChildDocument} @@ -291,12 +299,6 @@ function DocumentMembershipLink({ membership, depth = 0 }: Props) { - {reorderProps.isDragging && ( - - )} ); }