Skip to content
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

Gallery's overlay not always on top #29

Open
Dyljyn opened this issue Aug 7, 2018 · 1 comment
Open

Gallery's overlay not always on top #29

Dyljyn opened this issue Aug 7, 2018 · 1 comment

Comments

@Dyljyn
Copy link

Dyljyn commented Aug 7, 2018

Current behavior

Elements have the possibility to be placed on top of the gallery's overlay.

Expected behavior

The gallery's overlay should always be above all other elements.

Possible solution

Place the overlay at a high level in the DOM.
This behavior is found in the Angular CDK's overlay

Context

The overlay for the gallery is placed at the level it is defined in the DOM. This causes the possibility for other elements to be placed above this overlay. A basic use case I have found is with mat-sidenav/mat-drawer (see demo).

Demo

https://stackblitz.com/edit/ngx-image-gallery-overlay-issue

@marcosrbertuol
Copy link

Yeah I'm having issue with some material components like badges being on top of the gallery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants