added context menu

This commit is contained in:
paul
2024-09-12 22:09:13 +05:30
parent 7082069035
commit c94fd3918d
3 changed files with 81 additions and 45 deletions

View File

@@ -77,6 +77,7 @@ function App() {
}
setDropAnimation(null)
// FIXME: drop offset is not correct
// Calculate the dragged item's bounding rectangle
// const itemRect = activeItemElement.getBoundingClientRect();
// const itemCenterX = itemRect.left + itemRect.width / 2