src/components/autocomplete/js/autocompleteController.js
function disableElementScrollEvents(element) {

    function preventDefault(e) {
      e.preventDefault();
    }

    element.on('wheel', preventDefault);
    element.on('touchmove', preventDefault);

    return function() {
      element.off('wheel', preventDefault);
      element.off('touchmove', preventDefault);
    };
  }
function disableElementScrollEvents(element) {

    function preventDefault(e) {
      e.preventDefault();
    }

    element.on('wheel', preventDefault);
    element.on('touchmove', preventDefault);

    return function() {
      element.off('wheel', preventDefault);
      element.off('touchmove', preventDefault);
    };
  }
function disableElementScrollEvents ( element ) { function preventDefault ( e ) { e . preventDefault ( ) ; } element . on ( 'wheel' , preventDefault ) ; element . on ( 'touchmove' , preventDefault ) ; return function ( ) { element . off ( 'wheel' , preventDefault ) ; element . off ( 'touchmove' , preventDefault ) ; } ; }
Disables scrolling for a specific element
Disables scrolling for a specific element