I'm using this modal
.ts
import { ModalDirective } from 'ngx-bootstrap/modal';
@ViewChild('create', { static: false }) modalCreate: ModalDirective;
openCreate()
{
this.modalCreate.show();
}
html
<div bsModal #create="bs-modal" [config]="{ backdrop: 'static', ignoreBackdropClick: false, keyboard: true }" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dialog-child-name">
<div class="modal-dialog" >
<div class="modal-content bor-shadow">
<div class="modal-header">
<h1 class="modal-title">Create</h1>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
through this code modal is created but the backdrop in not present.