function moveDropdown () {
    if (!elements.$.root.length) return;
    $mdTheming(elements.$.scrollContainer);
    elements.$.scrollContainer.detach();
    elements.$.root.append(elements.$.scrollContainer);
    if ($animate.pin) $animate.pin(elements.$.scrollContainer, $rootElement);
  }
function moveDropdown () {
    if (!elements.$.root.length) return;
    $mdTheming(elements.$.scrollContainer);
    elements.$.scrollContainer.detach();
    elements.$.root.append(elements.$.scrollContainer);
    if ($animate.pin) $animate.pin(elements.$.scrollContainer, $rootElement);
  }
function moveDropdown ( ) { if ( ! elements . $ . root . length ) return ; $mdTheming ( elements . $ . scrollContainer ) ; elements . $ . scrollContainer . detach ( ) ; elements . $ . root . append ( elements . $ . scrollContainer ) ; if ( $animate . pin ) $animate . pin ( elements . $ . scrollContainer , $rootElement ) ; }
Moves the dropdown menu to the body tag in order to avoid z-index and overflow issues.
Moves the dropdown menu to the body tag in order to avoid z - index and overflow issues .
Move the dropdown to the root element