Closed cpt-pete closed 11 years ago
Hi, thanks for reporting. I could reproduce the problem and will look into it soon.
Tobias
Hi, this only happens if you redirect to an external page on startup. A workaround would be to put the first page in the index.html, and all other pages as external pages, like this: http://plnkr.co/edit/BcKI6X?p=preview
Hi, so, there were two problems:
otherwise
routing rule. This does not work with non native popups that show up as dialogs as jqm then changes the url to something like .../#uuid-5-dialog
, to which then your otherwise
rule applies and reroutes to an empty hash in the url, which closes the dialog instantly. The solution here is not to use otherwise
but a specific routing rule.Tobias
When you have a select box with many options and set data-native-menu="false" then custom menus should automatically enable and provide a 'modal window style' select box.
See 'Option to use custom menus' http://jquerymobile.com/demos/1.0a4.1/docs/forms/forms-selects.html
This works for me with jquery-mobile-angular-adapter if the select is in the initial html template.
However, if the select is in an external html file then nothing happens when you click the select box.
I've created a Plunker to show what I mean: http://plnkr.co/edit/aDjnbF?p=preview