title: Make div keyboard-scrollable in jQuery Mobile?
body: <p>From what I can tell, although jQuery-Mobile-powered pages can contain divs with overflow set to scroll or auto, and these divs can be scrolled with the one-screen bar or the mouse wheel, they cannot be scrolled using the arrow keys, page-up/page-down, or home/end.</p>
  
  <p>Instead, the official "page" div (with data-role="page") absorbs all this input. Perhaps other divs can't even acquire focus, I'm not sure.</p>
  
  <p>Is there any way around this?</p>
  
  <p>EDIT: JSfiddle of simple example: <a href="https://jsfiddle.net/qogz0shx/" rel="nofollow">https://jsfiddle.net/qogz0shx/</a></p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js"&gt;
  &lt;/script&gt;
  
  &lt;link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.css"/&gt;
  
  &lt;style&gt;
      #outer {
          overflow:scroll;
          height: 50vh;
          width: 50vw;
      }
  
      #inner {
          height: 500vh;
          width: 500vw;
      }
  &lt;/style&gt;
  
  &lt;div data-role="page"&gt;
      &lt;div id="outer"&gt;
          &lt;div id="inner"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Same example without the external files: <a href="https://jsfiddle.net/xr0hjjjc/" rel="nofollow">https://jsfiddle.net/xr0hjjjc/</a></p>
  
  <pre><code>&lt;style&gt;
      #outer {
          overflow:scroll;
          height: 50vh;
          width: 50vw;
      }
  
      #inner {
          height: 500vh;
          width: 500vw;
      }
  &lt;/style&gt;
  
  &lt;div data-role="page"&gt;
      &lt;div id="outer"&gt;
          &lt;div id="inner"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In Chrome, if you click on the div in the second example and press the arrow keys, you should see the scroll bars move. If you do the same with the first one, they won't.</p>