So far the ContextMenu component provides a built-in appendTo property which can be used to define the container to which the popup will be appended. But it cannot be used to set a custom container for all ContextMenu popups used in the application.
Provide a way to define a custom global container to which all ContextMenu popups will be appended. The same is provided for the Kendo UI for Angular Popup using the POPUP_CONTAINER:
https://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/
https://stackblitz.com/edit/angular-nuqbre-ty383e