We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I am using angular-modal-gallery in an angular-material based app.
angular-modal-gallery
The gallery is used in a component being shown by router-outlet.
The app is structured like this:
<mat-sidenav-container class="sidenav-container"> <mat-sidenav #drawer class="sidenav" fixedInViewport="true" [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'" [mode]="(isHandset$ | async) ? 'over' : 'side'" [opened]="!(isHandset$ | async)"> <mat-toolbar color="primary">App Name</mat-toolbar> <mat-nav-list> <!-- left menu items --> </mat-nav-list> </mat-sidenav> <mat-sidenav-content> <mat-toolbar color="primary" style="z-index:10001;"></mat-toolbar> <div style="padding:5px;> <router-outlet (activate)="onActivate($event)" (deactivate)="onDeactivate($event)"></router-outlet> </div> </mat-sidenav-content> </mat-sidenav-container>
The problem I have is that the gallery is centered in the whole document, this way the left navigaton arrow is hidden, and so is the "Close" icon.
Is there a way to tell angular-modal-gallery to center itself in the mat-sidenav-content element?
mat-sidenav-content
Here a screenshot of the issue:
The text was updated successfully, but these errors were encountered:
Hi. Yes this is a well known issue. There are some open issues about this topic and I scheduled the fix for version 8.0.0
I'll work on this during Christmas holidays.
At the moment there isn't a solution. This is happening because material wins over and higher css z-index.
I close the issue not because I'm not interested to fix it, but because its already scheduled and there is another issue #137
Sorry, something went wrong.
Thank you for your quick and detailed explanation. Your effort for this component is highly appreciated.
Ks89
No branches or pull requests
Hi,
I am using
angular-modal-gallery
in an angular-material based app.The gallery is used in a component being shown by router-outlet.
The app is structured like this:
The problem I have is that the gallery is centered in the whole document, this way the left navigaton arrow is hidden, and so is the "Close" icon.
Is there a way to tell
angular-modal-gallery
to center itself in themat-sidenav-content
element?Here a screenshot of the issue:
The text was updated successfully, but these errors were encountered: