HI Everyone,
I am loading a nexted listview with values and then allowing the user to filter the items.
Rather than use the built-in filter functions, I have my own #filterpage div which has a few checkboxes. WHen the user clicks the 'Apply Filter' button, then the listview on the main page is rebuilt and I use .changepage to go back to the main page. This is where it goes haywire - if the user clicks on a list item then the sublist page slides into view, then immediately slides away. If the user clicks the list item again, then the sublist page slides into view and stays (which is the desired behaviour).
Note: This bug only shows up on the Safari for the iPhone. It works fine on FF/Safari for the desktop.
I have loaded the test page here: http://iwantthatflight.com.au/temp/listdemo.htm
To replicate:
$('#FilterFlights').bind("tap",function( e )
{
LoadData(true);
$.mobile.changePage("#mainpage", "slide", false, true);
});