[TIMOB-1540] Android: WebView scalesPageToFit, pinching & zooming not working
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint-2011-09 |
Components | Android |
Labels | android, feature, klist, release-1.7.0, reported-1.4.0, rplist |
Reporter | Bill Dawson |
Assignee | Don Thorp |
Created | 2011-04-15T02:55:26.000+0000 |
Updated | 2011-04-17T01:56:27.000+0000 |
Description
The scalesPageToFit
property appears to be missing.
Also, double-tapping for zoom (like in native Android browser) and
pinching gestures don't work.
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.
We have a pro client interested in this enhancement as well.
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/64291">http://developer.appcelerator.com/helpdesk/view/64291
Is this fix/feature planned for a future release? Apologize if I missed a roadmap document somewhere.
Another pro client is interested in this.
2nd Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/72531">http://developer.appcelerator.com/helpdesk/view/72531
3rd Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/73561">http://developer.appcelerator.com/helpdesk/view/73561
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.
(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...
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.
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)