title: Detecting that user has scrolled to the bottom of the div without scroll event?
body: <p>I'm looking for js solution that detects when user has scrolled to the bottom of the div with <code>overflow: auto</code>. </p>
  
  <p>There are plenty of solutions here on SO that describe how to achieve it with <code>onscroll</code> event, but I was wondering if this can be done this with newer technology like <code>IntersectionObserver</code> that doesn’t require attaching the scroll event. </p>