Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page changes on orientation change #222

Open
olegtim opened this issue Jul 26, 2013 · 1 comment
Open

Page changes on orientation change #222

olegtim opened this issue Jul 26, 2013 · 1 comment

Comments

@olegtim
Copy link

olegtim commented Jul 26, 2013

First, thank you for all the work on this adapter. Huge time saver!

I am using 1.3.2-SNAPSHOT with Jqm 1.3.1, AngularJS 1.0.6 and Phonegap 2.9 on Android device. Every time there is an orientation change, page/location changes to default route.

  1. html5Mode is left default
  2. Pages are separate template files
  3. Routing looks like this:
$routeProvider.
    when('/login', {templateUrl: 'login.html'}).
    when('/event', {templateUrl: 'events.html', jqmOptions: { transition: 'flip' }}).
    when('/event/:eventId/attendee', {templateUrl: 'attendees.html', jqmOptions: { transition: 'flip' }}).
    otherwise({redirectTo: '/event'});
  1. When I am at /event/111111/attendee page, changing device orientation, redraws /event page instead.

I had to disable orientation change for now to avoid the issue. Any ideas?

@tbosch
Copy link
Contributor

tbosch commented Aug 1, 2013

Sorry, not immediately.
Could you create a jsfiddle / plnkr for this? (The Readme.md contains links to a starting point).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants