Hide view when context menu is displayed

Is there a way to control the preview when a context menu is presented in SwiftUI? I have an overlay on my view that I want to hide if the context menu is presented.
Hide view when context menu is displayed
 
 
Q