Skip to content

Commit

Permalink
fix: Context menu does not appear when right-clicking IrisGrid compon…
Browse files Browse the repository at this point in the history
…ent in styleguide (#1184)

Fixes #1065 

Context menu was being rendered but it was rendered based on the page x
and y, so since you have to scroll to the bottom to see IrisGrid, the
context menu was being rendered off the screen.
  • Loading branch information
emilyhuxng authored Mar 29, 2023
1 parent 15551df commit 696cc2d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,8 +797,8 @@ class IrisGridContextMenuHandler extends GridMouseHandler {

ContextActions.triggerMenu(
irisGrid.gridWrapper,
event.pageX,
event.pageY,
event.clientX,
event.clientY,
actions
);
return true;
Expand Down

0 comments on commit 696cc2d

Please sign in to comment.