(First - please let me know if there's a better place to post this. Github issues looks inactive?)
I have a navbar, and it seems to require 2 clicks to get the blue highlight (a.ui-btn-active).
Demonstrating in Chrome 10.0.612.3 and iPhone Simulator 4.1 (also happens on iOS 4.x hardware):
http://screenr.com/HWu
Code (there are more pages in the HTML document, let me know if more source is needed to diagnose):
- <div data-role="page" id="page-beers">
- <div data-role="header">
- <h1>Beers</h1>
- <a href="page-home" data-back="true" data-icon="grid" class="ui-btn-right">Home</a>
- <div data-role="navbar">
- <ul>
- <li><a data-transition="none" href="#page-beers" class="ui-btn-active">Search</a></li>
- <li><a data-transition="none" href="#page-beers-top">Top 10</a></li>
- <li><a data-transition="none" href="#page-beers-map">Map</a></li>
- </ul>
- </div><!-- /navbar -->
- </div><!-- /header -->
- <div data-role="content">
- <ul data-role="listview" data-filter="true">
- <li data-role="list-divider"><h3>21st Amendment Brewery (CA) - #540</h3></li>
- <!-- more list items redacted for clarity... -->
- </ul>
- </div><!-- /content -->
- <div data-role="footer">
- </div><!-- /content -->
- </div><!-- /page -->
Each page (#page-beers, #page-beers-top, #page-beers-map) has class="ui-btn-active" manually applied to its appropriate div[data-role=navbar]>ul>li. The same behavior occurs if this class is not present (so far as I can tell).
Thanks!
-Jason