Skip to content

Commit

Permalink
Adding contextmenu to the list of event the callout dismisses on
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Olivares committed Oct 3, 2022
1 parent 192e997 commit f3f35e5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ function useDismissHandlers(
on(targetWindow, 'resize', dismissOnResize, true),
on(targetWindow.document.documentElement, 'focus', dismissOnLostFocus, true),
on(targetWindow.document.documentElement, 'click', dismissOnLostFocus, true),
on(targetWindow.document.documentElement, 'contextmenu', dismissOnLostFocus, true),
on(targetWindow, 'blur', dismissOnTargetWindowBlur, true),
];

Expand Down

0 comments on commit f3f35e5

Please sign in to comment.