Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Backdrop z-Index has been forced to 1050 with inline style
<ngb-modal-backdrop style="z-index: 1050" class="modal-backdrop fade show">
this works if you use normal bootstrap.css, but i'm using bootstrap/scss and i like to configure myself the variables
in particular $zindex-modal: on my project is set much lower than 1050, and all the modals are broken with the updates.
if for some reason is not possible to change this behaviour, at least give us the possibility to configure it trough NgbModalConfig.
Version of Angular, ng-bootstrap, and Bootstrap:
So, basically it's because of the DOM nodes order:
Bootstrap's default z-index for both modal and backdrop is 1040.
Ideally we should have a SASS theme that would reuse the Bootstrap's variable for z-index, but for now allowing to customize it seems like a solution.