cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Resolved] (CB-5445) Support onScrollChanged message on CordovaWebView
Date Fri, 29 Nov 2013 22:32:35 GMT


Joe Bowser resolved CB-5445.

    Resolution: Fixed

Scroll change sends a ScrollEvent object to the plugin so that it can handle the new top and
left coordinates, and calculate a delta.

> Support onScrollChanged message on CordovaWebView
> -------------------------------------------------
>                 Key: CB-5445
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
> In the event that someone wishes to implement native components over top of Cordova,
we need a way to make sure they adjust to where they should be on the screen in the event
of scrolling.  Currently plugins can do this with JS, but there's a serious delay caused by
the bridge.  Since scrolling is controlled by Java anyway, we should keep these events at
this level and avoid the bridge, which is why we should pass onScrollChanged to the plugins.

This message was sent by Atlassian JIRA

View raw message