Skip to content

[MtxSelect] mtx-selects in dialogs (and other overlays) #400

@Hypercubed

Description

@Hypercubed

I was having trouble with mtx-selects in dialogs where either the dropdown was showing behind the dialog or tooltips that I've added were showing below the dropdown. The fix is very simple... set the default appendTo to .cdk-overlay-container rather than body. This makes me wonder for ng-matero, which is always used with material, shouldn't the default appendTo be .cdk-overlay-container. If you do we also need to ensure OverlayContainer#getContainerElement is called in the MtxSelect class to ensure the overlay container exists before rendering the dropdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: selectIssues about selectquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions