question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

overlay issue in material template

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[x] Support request

Current behavior

I am having an overlay issue over here, i think picture speak faster and clearer

1

as you can see, the side bar and top navigation bar overlapping the backdrop and image, the close button even hiding behind the top nav bar

Expected behavior

2

This result is exactly what I expected.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment (the most important section to fill very carefully)


- Node version: X.X.X  
- npm version: X.X.X  
- Operating System and version:  
- Angular version: X.Y.Z 
- angular-cli version (or SystemJS/Webpack): X.Y.Z 
- I'm using Server Side Rendering with angular-universal: YES/NO
- I'm compiling with mode: DEBUG / PROD / PROD with AOT



Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
gagandeepbalcommented, Jul 24, 2018

Setting the z-index on sidenav content (where router-outlet is) fixed the issue. Also, i’m switching mode of sidenav based on screen size using flex-layout, so i have to use ngStyle for setting z-index when sidenav mode is set to side.

NOTE: I’m using material sidenav in my app.

@Ks89 Thanks for your awesome work.

0reactions
Ks89commented, Apr 11, 2020

Fully implemented (branch 800) with angular/cdk and scheduled for 8.0.0-beta.1 that is coming soon.

I close this issue because already done and It will be available in a beta release in some days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular: error on cdk overlay when used with *ngIf
I try to add a contextual menu to a button, I implemented the very simple example from the angular material documentation ...
Read more >
Overlay | Angular Material
The OverlayContainer provides a handle to the container element in which all individual overlay elements are rendered. By default, the overlay container is ......
Read more >
Overlay Demo (forked) - StackBlitz
Issue template for @angular/material. ... import {Overlay, OverlayOrigin, OverlayConfig,. OverlayRef} from '@angular/cdk/overlay';. import {.
Read more >
How to display an overlay with Angular? | by Alain Chautard
The Angular CDK is a library built by the Angular Material team at Google ... A template to render the contents of the...
Read more >
Angular Material CDK - Overlay Module Pt.1 ... - YouTube
Angular Material CDK - Overlay Module Pt.1 (Comprehensive overview, Angular 9 / 2020).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found