code: function scrollIntoView (instance) {
    const rect = getInstanceOrVnodeRect(instance)
    if (rect) {
      // TODO: Handle this for non-browser environments.
      window.scrollBy(0, rect.top + (rect.height - window.innerHeight) / 2)
    }
  }
docs: Sroll a node into view.
  
  @param {Vue} instance