Skip to content

help(OverlayContainer): FullscrenOverlayContainer not applying our theme #22156

@Razgort

Description

@Razgort

Hi guys, we recently started to use the overlay container module with the class FullscreenOverlayContainer.
In order to open modals in fullscreen mode.
It was working fine, but after that we tried to apply our theme to the modal.
And the theme is correctly applyed in fullscreen mode. But not on normal mode any more, see below screens

this is with full screen below see theme and css class applied
full-screen (1)

this is with normal screen mode below see theme not applied and css class disappeard
not-full-screen (1)

Do you guys have any idea why ? Or is it a bug ?

Environment

  • Angular: Angular 10.0.0
  • CDK/Material: angular material 10.0.8
  • Browser(s): chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the teamtroubleshootingThis issue is not reporting an issue, but just asking for help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions