Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Page remains zoomed when navigating from one page to another #4074

Closed
@termleech

Description

@termleech

Versions Affected

jQuery Mobile 1.1.0
jQuery 1.6.4

OS Affected (Known)

iOS 5.1
Android 4.0
Android 2.3.7

Steps to Reproduce

  1. Create a multi-page jQuery site
  2. Enable pinch zoom in the app via the meta tag
  3. Open the app up on device
  4. Pinch-zoom into the site
  5. Navigate to another page in app

Expected Results

The new page should reset the zoom level so it looks like a normal page when navigated to

Actual Results

The zoom level remains on the new page so the new page is zoomed in on. This is very confusing to users

Attempted Work Arounds

I have tried temporarily disabling zoom via $.mobile.zoom.disable() on pageHide and then re-enabling zoom via $.mobile.zoom.enable on pageShow and pageBeforeShow. This resolves the zoom issue on Android 4.0 (I did not test 2.3.7) however it does not resolve the issue on iOS. iOS seems to ignore the disabling and re-enabling of zoom.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions