title: How to put scrollpan pointing to bottom in a modal
body: <p>I was building a chat application.I have been trying to put the scroll pan in a modal always pointing to bottom unless i scroll up, but couldn't do it.The list elements are coming through ajax.can anybody help me with this.?</p>
  
  <pre><code>    &lt;div class="modal-body" style="max-height: calc(50vh - 100px);
  overflow-y: auto;"&gt;
      &lt;ul class="list-group"&gt;
      &lt;/ul&gt;
  
      &lt;/div&gt;
  </code></pre>