incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees van den Broek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1247) An option similar to "webviewbounce" is needed that works on Windows Phone
Date Fri, 05 Oct 2012 07:04:49 GMT

    [ https://issues.apache.org/jira/browse/CB-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470062#comment-13470062
] 

Kees van den Broek commented on CB-1247:
----------------------------------------

It has been a month since this missing feature was reported.
The proposed patch from the article using LinqToVisualTree works great (tested on Lumia 710
and 900). No more webview bounce.
Jesse mentioned the code was already in the codebase, I did not see it. Care to point me to
it?

                
> An option similar to "webviewbounce" is needed that works on Windows Phone
> --------------------------------------------------------------------------
>
>                 Key: CB-1247
>                 URL: https://issues.apache.org/jira/browse/CB-1247
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 2.0.0
>         Environment: Windows Phone
>            Reporter: Rob Van Wicklen
>            Assignee: Jesse MacFadyen
>             Fix For: 2.2.0
>
>
> A "webviewbounce" option can be set to fix an app's viewable area in place on the iOS
screen, making it so that users cannot drag it and move it off the side of the screen. A similar
setting is needed for Windows Phone.
> Currently, even if the viewport size is set to the device screen dimensions and the scale
is fixed at 1.0, Windows Phone users can still drag the app's viewport which results in a
bounce effect similar to what's seen on iOS when the webviewbounce option isn't set to false.
> The Windows Phone WebBrowser control doesn't directly expose a property that lets you
eliminate the bounce, but the desired result can be acheived with a small amount of wrapper
code around the control. This would need to be implemented within Cordova. The following article
explains how to do it:
>  
> http://www.scottlogic.co.uk/blog/colin/2011/11/suppressing-zoom-and-scroll-interactions-in-the-windows-phone-7-browser-control
> Justification: the ability to eliminate the bounce effect is important for app developers
who want to create an experience that's similar to a native app. This is not currently possible
on Windows Phone.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message