Skip to content

using single-spa and angular8 to develop micro front-end application,the cdk overlay is not working correct #16972

@DavidYangLin

Description

@DavidYangLin

Reproduction

when I use single-spa to develop micro front-end application,one page has two applications,both of them used overlay(eg.select,modal),when I triggered a overlay component at one application,another one application's overlay component can't be shown when I trigger. A div element which class name is "cdk-overlay-container" and wrap my conponent was created when trigger the overlay component I found,but when I trigger another one overlay component in another application,the component can't be created. Is there any one can help me
many thanks!

Expected Behavior

What behavior were you expecting to see?
all overlay components of two applications at one page could work properly

Actual Behavior

What behavior did you actually see?

one application's overlay components could work correctly,but another one couldn't work correctly

Environment

  • Angular:angular8
  • CDK/Material:@angular/cdk: 8.1.3
  • Browser(s):chorme
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions