select data-native-menu="false" does not work as expected
Hello
I am trying to use jQuery Mobile and faced strange behavior.
I have a page P1, page P2, select data-native-menu="false" on P2.
1. When I change page from P1 to P2 using
$.mobile.changePage( $('#P2'), { role: 'page', transition: 'slide', reverse: true, changeHash: true} );
and then open select on P2, close it or select something, I stay on P2.
2. When I change page from P1 to P2 using
$.mobile.changePage( $('#P2'), { role: 'page', transition: 'slide', reverse: true, changeHash: false} );
and then open select on P2, close it or select something, I am forwarding back to P1.
Assume changeHash: false property does not add P2 to history and that is an issue.
All I want to do - stay with the same url as P1 has ( changeHash: false helps me to achieve this) and have select with data-native-menu="false" working correctly.
Could you please clarify is it a bug and will be fixed in next release or maybe I need to add manually P2 to history to have select field properly working ? I do not want to use changeHash: false cause it changes url address in browser.
Please help.
Thanks in advance.