Closed
Description
Reproduction
Here is our related stackblitz example.
This uses the same dependencies as our app, but unfortunately we cannot reproduce it on Stackblitz yet. We hope someone can guide us in the right direction to make a reproduction example.
Expected Behavior
The overlays should show up in front of all other elements - even in full-screen mode.
Actual Behavior
The overlays show up behind all other elements, and are invisible. So at first sight it seems that the clicks don't work.
Here is an example what happens in our app:
- when we first open the app and click on the pager-dropdown the overlay is not shown
- this also happens for other drop-downs (and even for modal dialogs)
- when we switch to full-screen mode (we use screenfull-js) the overlays appear
- when we now exit full-screen the drop-downs work correctly
more info:
- when we revert the @angular/cdk version from
8.1.2
to8.1.1
the app works correctly - even with
8.1.2
we can make the app work (at least in non-fullscreen mode) when we deactivate theFullscreenOverlayContainer
:
@NgModule({
...
// when we deactivate this line, it even works with cdk version 8.1.2
, providers: [{ provide: OverlayContainer, useClass: FullscreenOverlayContainer }]
})
- maybe this is related to pull-request #11940?
We hope that someone can give us a hint what this could be related to or what else we could try or check so that we can give a reproduction example on stackblitz.
Backreference to a related Stackoverflow question
Environment
- Angular: 8.1.3
- CDK/Material: 8.1.2
- Browser(s): Chrome, Firefox and possibly all others
- Operating System (e.g. Windows, macOS, Ubuntu): Win 10 64-bit