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

Problems with back button in 1.0a4 #1343

Closed
dwc opened this Issue Apr 1, 2011 · 4 comments

Comments

Projects
None yet
3 participants
@dwc

dwc commented Apr 1, 2011

Alpha 4 appears to have a problem with the back button where it does not return you to the correct page. I only see the problem on A-grade devices (including the iPhone Simulator and Android emulator targeting 2.2), not in desktop Safari.

To reproduce:

  1. Load http://jquerymobile.com/demos/1.0a4/ in iPhone Simulator.
  2. Click on "Pages & dialogs".
  3. Click on "Anatomy of a page".
  4. Click on the back button.

This set of steps should return you to the "Anatomy of a page" screen, but it returns you to the main docs page.

The alpha 3 docs don't have this problem.

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker Apr 1, 2011

Contributor

I just tried this on an iPhone 4 (4.2) and Moto Droid (2.2) and the navigation works correct with both the OS back button and the toolbar back button. Can you try to reproduce on a device? Might be an emulator issue.

Contributor

toddparker commented Apr 1, 2011

I just tried this on an iPhone 4 (4.2) and Moto Droid (2.2) and the navigation works correct with both the OS back button and the toolbar back button. Can you try to reproduce on a device? Might be an emulator issue.

@dwc

This comment has been minimized.

Show comment
Hide comment
@dwc

dwc Apr 4, 2011

I reproduced it on a Nexus One (Android 2.3.3) using the following:

  1. Visit https://dev.webadmin.ufl.edu/~dwc/mobile/ (short link: http://bit.ly/hBlKib) on device.
  2. Click on "One".
  3. Click on "B".
  4. Click on the toolbar back button to return to "One".
  5. Click on the toolbar back button to return to "Home".
  6. Click on "One".

At this point, jQuery Mobile appears to receive another tap on the "A" list item. It tries to load the page but fails.

I could not reproduce the issue on an iPhone 3GS (iOS 4.2.1).

dwc commented Apr 4, 2011

I reproduced it on a Nexus One (Android 2.3.3) using the following:

  1. Visit https://dev.webadmin.ufl.edu/~dwc/mobile/ (short link: http://bit.ly/hBlKib) on device.
  2. Click on "One".
  3. Click on "B".
  4. Click on the toolbar back button to return to "One".
  5. Click on the toolbar back button to return to "Home".
  6. Click on "One".

At this point, jQuery Mobile appears to receive another tap on the "A" list item. It tries to load the page but fails.

I could not reproduce the issue on an iPhone 3GS (iOS 4.2.1).

@jblas

This comment has been minimized.

Show comment
Hide comment
@jblas

jblas Apr 4, 2011

Contributor

I checked in a fix for this see issue 1331:

#1331

for details.

Contributor

jblas commented Apr 4, 2011

I checked in a fix for this see issue 1331:

#1331

for details.

@jblas jblas closed this Apr 4, 2011

@dwc

This comment has been minimized.

Show comment
Hide comment
@dwc

dwc Apr 5, 2011

Thanks! I'm not seeing the issue anymore as of d43bbfc.

dwc commented Apr 5, 2011

Thanks! I'm not seeing the issue anymore as of d43bbfc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment