Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1540] Android: WebView scalesPageToFit, pinching & zooming not working

GitHub Issuen/a
TypeNew Feature
Resolution Date2011-04-17T01:56:27.000+0000
Affected Version/sn/a
Fix Version/sSprint-2011-09
Labelsandroid, feature, klist, release-1.7.0, reported-1.4.0, rplist
ReporterBill Dawson
AssigneeDon Thorp


The scalesPageToFit property appears to be missing. Also, double-tapping for zoom (like in native Android browser) and pinching gestures don't work.


  1. Clone 2011-04-15

    Is there any progression on this issue?

    I would really like to utilise it to allow image zooming and panning without having to code the interactions from the ground up.

  2. Dawson Toth 2011-04-15

    We have a pro client interested in this enhancement as well.

    Associated Helpdesk Ticket


  3. Jim C. 2011-04-15

    Is this fix/feature planned for a future release? Apologize if I missed a roadmap document somewhere.

  4. Dawson Toth 2011-04-15

    Another pro client is interested in this.

    2nd Associated Helpdesk Ticket


  5. Jon Alter 2011-04-15

    3rd Associated Helpdesk Ticket


  6. Opie Cyrus 2011-04-15

    Breaking out scaleToFit for webview into sub ticket:
    https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/3260-android-support-scale-to-fit-for-webview"> https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

    Updates for double tap and pinch zoom will still go into this ticket.

  7. Opie Cyrus 2011-04-15

    (from [e4be91e2a839128d4f38d1d3df41018629a226e4]) [#1540 state:fixed-in-qa] Support double tap and pinch zoom in webview

    include support for double tap and pinch zoom when in webview. Support and behavior of these features can vary based on the type on content being shown. Mobile versions of websites may not support the features thesame way as the regular non mobile version will.
    https://github.com/appcelerator/titanium_mobile/commit/e4be91e2a839128d4f38d1d3df41018629a226e4"> https://github.com/appcelerator/titanium_mobile/commit/e4be91e2a839...

  8. Opie Cyrus 2011-04-15

    This fix can be verified via the built in KS test for views->webviews->external url. For ease of testing, select "classic" mode on the google home page that comes up in the test.

  9. Natalie Huynh 2011-04-15

    Tested with Titanium SDK version: 1.7.0 (03/03/11 11:06 87a2113) on
    Galaxy Tab: 2.2
    Emulator 2.1 (Only tested double tap, cannot test pinch and zoom gestures)

JSON Source