kaori 4 anni fa
parent
commit
a2ead28dbe
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/app/src/components/Sidebar/PageTree/Item.tsx

+ 1 - 0
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -130,6 +130,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
     accept: 'PAGE_TREE',
     drop: pageItemDropHandler,
     hover: (item, monitor) => {
+      // when a drag item is overlapped more than 1 sec, the drop target item will be opened.
       if (monitor.isOver()) {
         setTimeout(() => {
           if (monitor.isOver()) {