The fade class does not work on the ngb modal.
I looked at trying to apply my own animation to a modal, but the modal template is explicitly entered into the modal dialog using ng-bootstrap, for example. I do not have access to a modal dialog. I have only access to the template:
<template #content let-c="close" let-d="dismiss">
<div class="modal-header card-header" style="border-radius: 10px;">
<h4 class="modal-title">Contact Form</h4>
</div>
<div class="modal-body"> </div>
...etc
</template>
I need to apply my animation to a top-level dialog, otherwise just bits of a modal animat. If I applied it to the template, it will explode.
Any idea how I could revive the whole modal
source
share