Feature Description
CdkConnectedOverlay currently only supports CdkOverlayOrigin as input for cdkConnectedOverlayOrigin.
Looking at the code, it should be easy to handle all the types supported by FlexibleConnectedPositionStrategy.
For reference,
type FlexibleConnectedPositionStrategyOrigin = ElementRef | Element | Point & {
width?: number;
height?: number;
};
Use Case
Sometimes we want to connect the overlay to a Element which is not present in the component, so it's not possible to add cdkOverlayOrigin directive. Also, this gives better flexibility to show overlay in any position with Point & {width,height} option.
I can send a small CL to extend the support for these types.