diff --git a/frontend/src/components/DraggableDroppableTagRow.tsx b/frontend/src/components/DraggableDroppableTagRow.tsx index 2f1451a..ea1eda4 100644 --- a/frontend/src/components/DraggableDroppableTagRow.tsx +++ b/frontend/src/components/DraggableDroppableTagRow.tsx @@ -65,7 +65,7 @@ const DraggableDroppableTagRow: FC = ({ tag, nestLevel, pathKey, parentTa data: { kind: 'tag', tagId: tag.id } }) const style: CSSProperties = { transform: CSS.Translate.toString (transform), - visibility: dragging && !(sp) ? 'hidden' : 'visible' } + visibility: dragging ? 'hidden' : 'visible' } return (
{ - const byPointer = pointerWithin (args) - return byPointer.length > 0 ? byPointer : rectIntersection (args) + return pointerWithin (args) } const alwaysMeasureDroppables = { @@ -491,15 +489,14 @@ const TagDetailSidebar: FC = ({ className, post, sp }) => { )} - {!(sp) && ( - -
- {activeTagDrag != null && (() => { - const tag = findTag (tags, activeTagDrag.tagId) - return tag && - }) ()} -
-
)} + +
+ {activeTagDrag != null && (() => { + const tag = findTag (tags, activeTagDrag.tagId) + return tag && + }) ()} +
+
) }