title: jQuery Mobile data-fullscreen toolbars not being 100% hidden
body: <p>Just having a spot of bother with jQuery mobile I'm trying to use in a Phonegap project.</p>
  
  <p>I would like the Header &amp; Footer toolbars to completely disappear when the screen is tapped so that all the content may be seen.</p>
  
  <p>I have this code:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
    &lt;title&gt;&lt;/title&gt;
  
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /&gt;
      &lt;meta charset="utf-8"&gt;
  
      &lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" /&gt;
  
      &lt;script type="text/javascript" charset="utf-8" src="cordova-1.5.0.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
  
      function onBodyLoad()
      {       
          document.addEventListener("deviceready", onDeviceReady, false);
      }
  
      function onDeviceReady()
      {
  
      }
  
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body onload="onBodyLoad()"&gt;
  
          &lt;div data-role="page" data-fullscreen="true"&gt;
  
              &lt;div data-role="header" data-fullscreen="true" class="ui-bar-a ui-header ui-header-fixed fade ui-fixed-overlay" data-position="fixed"&gt;
                  &lt;h1&gt;Hide Header/Footer&lt;/h1&gt;
              &lt;/div&gt;
  
              &lt;div data-role="content"&gt;
                  &lt;p&gt;Hello&lt;/p&gt;
                  &lt;p&gt;Hello&lt;/p&gt;
                  &lt;p&gt;Hello&lt;/p&gt;
                  &lt;p&gt;Hello&lt;/p&gt;
              &lt;/div&gt;
  
                  &lt;div data-role="navbar" data-position="fixed" data-fullscreen="true"&gt;
                      &lt;ul&gt;
                          &lt;li&gt;&lt;a href="" class="ui-btn-active"&gt;One&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href=""&gt;Two&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
  
          &lt;/div&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I have used the <em>data-fullscreen="true"</em> as instructed by the jQuery Mobile docs and this works correctly when scrolled down the page into an area where the header and footer would not be visible if they were static.</p>
  
  <p>The problem I have is that say, for example I tap the screen when the header is visible where it would be were it static, it slides up as if it was disappearing, but then an empty black toolbar comes back down without any text.</p>
  
  <p>I have tried copying the code exactly how it is on the docs example and I get the same problem where on this page, the toolbars disappear correctly: <a href="http://jquerymobile.com/demos/1.1.0-rc.2/docs/toolbars/bars-fullscreen.html" rel="nofollow">jQuery Demo</a></p>