> element. This behavior is configurable via the appendTo setting.
but appendTo links to window appendTo documentation. ContextMenu documentation does not document appendTo configuration. TypeScript declaration file for interface ContextMenuOptions is also missing appendTo property.