We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c956e2 commit b89aaebCopy full SHA for b89aaeb
src/context-menu/ContextMenu.tsx
@@ -117,11 +117,7 @@ export function ContextMenu<TDataItem>({
117
graphComponent.selection.add(event.item)
118
}
119
setMenuVisible(true)
120
- setMenuLocation(
121
- graphComponent.viewToPageCoordinates(
122
- graphComponent.worldToViewCoordinates(event.queryLocation)
123
- )
124
+ setMenuLocation(graphComponent.worldToViewCoordinates(event.queryLocation))
125
// populate the menu
126
populateContextMenu(event)
127
0 commit comments