maybeAdjustScroll () {
        let pixelsToPointerTop = this.pixelsToPointerTop()
        let pixelsToPointerBottom = this.pixelsToPointerBottom()
  
        if ( pixelsToPointerTop <= this.viewport().top) {
          return this.scrollTo( pixelsToPointerTop )
        } else if (pixelsToPointerBottom >= this.viewport().bottom) {
          return this.scrollTo( this.viewport().top + this.pointerHeight() )
        }
      }
/**
       * Adjust the scroll position of the dropdown list
       * if the current pointer is outside of the
       * overflow bounds.
       * @returns {*}
       */
Adjust the scroll position of the dropdown list
if the current pointer is outside of the
overflow bounds.
Adjust the scroll position of the dropdown list if the current pointer is outside of the overflow bounds .
maybeAdjustScroll () {
        let pixelsToPointerTop = this.pixelsToPointerTop()
        let pixelsToPointerBottom = this.pixelsToPointerBottom()
        if ( pixelsToPointerTop <= this.viewport().top) {
          return this.scrollTo( pixelsToPointerTop )
        } else if (pixelsToPointerBottom >= this.viewport().bottom) {
          return this.scrollTo( this.viewport().top + this.pointerHeight() )
        }
      }
maybeAdjustScroll ( ) { let pixelsToPointerTop = this . pixelsToPointerTop ( ) let pixelsToPointerBottom = this . pixelsToPointerBottom ( ) if ( pixelsToPointerTop <= this . viewport ( ) . top ) { return this . scrollTo ( pixelsToPointerTop ) } else if ( pixelsToPointerBottom >= this . viewport ( ) . bottom ) { return this . scrollTo ( this . viewport ( ) . top + this . pointerHeight ( ) ) } }
Adjust the scroll position of the dropdown list
 if the current pointer is outside of the
 overflow bounds.
Adjust the scroll position of the dropdown list if the current pointer is outside of the overflow bounds .