title: Tippy.js - Unable to hide a tooltip using the tippy.js documentation function
body: <p>I'm using <a href="https://atomiks.github.io/tippyjs/" rel="nofollow noreferrer">tippy.js</a> for tooltips on a website, but it comes to a point when I have to hide them manually with a function (on mobile). However I'm unable to hide it using the built in function <code>hide()</code></p>
  
  <p>Am I doing something wrong or is the library bugged?</p>
  
  <p>Here's the <a href="https://atomiks.github.io/tippyjs/#controlling-tooltips-manually" rel="nofollow noreferrer">documentation</a> showing the hide() function.
  And here's a snippet of my problem.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var instance = new Tippy('button')
  
  var i = 0;
  
  $(document).on('keyup', function() {
    $('.clickcount').html(i);
    i++;
  
    var popper = instance.getPopperElement(document.querySelector('.tippy-popper'));
    instance.hide(popper)
  
  })</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>button {
    margin: 20px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://atomiks.github.io/tippyjs/tippy/tippy.css" rel="stylesheet" /&gt;
  &lt;script src="https://atomiks.github.io/tippyjs/tippy/tippy.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  
  
  &lt;button title="text"&gt;Button with Tippy&lt;/button&gt;
  
  &lt;div class="clickcount"&gt;Focus the document, then hover the button and press any key to hide it.&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any and all help appreciated!</p>