JSFiddle - React, Tailwind, and code Playground
by Lalji Tadhani
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<div class="modal fade show" id="myModal" role="dialog" aria-labelledby="myModalenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable" id="myModalDialog">
<div class="modal-content" id="myModalContent">
<div class="modal-header">
<h5 class="modal-title" id="myModalTitle">Modal</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div style="height: 100%; width: 100%; background-color:aquamarine;">
Hello <!-- THIS IS NOT STRETCHING TO 100% HEIGHT -->
</div>
</div>
</div>
</div>
</div>
CSS
.modal {display:block;}
#myModalContent{
height:100%;
}