incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Van Wicklen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1247) An option similar to "webviewbounce" is needed that works on Windows Phone
Date Wed, 15 Aug 2012 17:45:38 GMT
Rob Van Wicklen created CB-1247:
-----------------------------------

             Summary: 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: New Feature
          Components: WP7, WP8
    Affects Versions: 2.0.0, 1.9.0, 1.8.1, 1.8.0, 1.7.0, 1.6.1, 1.6.0, 1.5.0, 1.4.0, 1.3.0,
1.2.0, Master, 2.1.0, 2.2.0, 3.0.0
         Environment: Windows Phone (all)
            Reporter: Rob Van Wicklen
            Assignee: Jesse MacFadyen


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message