-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overlay issue in material template #137
Comments
Hi, that is happening because probably material is using a very high z-index. |
thanks for the help, i not sure which line of code should i show to u, so i just share my whole example project for u easier https://drive.google.com/file/d/1pJWrT6i9VzVPgQOLjHM3MKrqTsKORGQ7/view?usp=sharing |
I tried but I cannot run The error is:
|
Ok, I removed node_modules, now it's working. This issue is not easy to fix, because the problem isn't z-index. However, It's similar to #95. I need to investigate to find a different approach. I cannot promise a quick solution, because I have to release a new major release to do this. |
thanks for the help and sorry for no reply as i was not around my pc recently >< , yup i was trying to mess with z-index but no luck, it is ok to take your time :D |
Yes z-index is not enough. It's more complicated. |
@momopaper were you able to fix this issue ? I'm facing it the same problem in my project. |
Hi. This is really difficult to fix. Honestly I don't know how, but I'm happy to talk about possibile solutions and ideas. Feel free to share proposals to start a discussion |
Any update on this issue? Facing this same issue. |
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. |
Thank u, but I'm not able to fix this issue alone. I'm not using material in production, so it's not simple to simulate all scenarios. |
too bad, i cant find the solution, me and my friends did try fix but unfortunately |
Do you have runnable examples with angular material on github to show issues with materie? |
I'm experimenting cdk and it's interesting, because It works as expected. When I'm ready to integrate into the library I'll update this issue. |
To fix this issue I have to rewrite a huge part of the library, so I'll need time and I'm quite sure to work on this during this winter for angular-modal-gallery 8.0.0. I prefer to release version 7.0.0 this autumn with carousels and other features, instead of delay everything to this winter. |
Experiencing the same issue.. mat-sidenav and fixed mat-toolbar are always on top of modal-gallery |
@veliksergey I'll fix this with 8.0.0 (already work in progress), but I have to re-write a big part of the library (only internal stuff), so I need some time to do that. First of all, I'll release 7.3.0 next month with a huge internal change to speed up 8.0.0 release. In this way, I can add the required changes that I'm experimenting on top of 7.3.0. |
@Ks89 I was able to go around this problem by putting ks-modal-gallery inside mat-dialog component Main Component:
In GalleryDialogComponent:
|
Thank you for sharing your temporary solution. |
Fully implemented (branch I close this issue because already done and It will be available in a beta release in some days. |
I'm submitting a...
Current behavior
I am having an overlay issue over here, i think picture speak faster and clearer
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
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)
The text was updated successfully, but these errors were encountered: