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

jcesarmobile commented on CB-10420:
-----------------------------------

On iOS you mean using a UIRefreshControl?
It's supposed to be used with tableviews only, not with UIWebViews, but it can 
be used (I've tested)

I think that this should be a 3rd party plugin, not something core.

Setting DisallowOverscroll preference to true won't allow the UIRefreshControl 
to work, and most cordova apps use DisallowOverscroll true.



> Native Pull-To-Refresh
> ----------------------
>
>                 Key: CB-10420
>                 URL: https://issues.apache.org/jira/browse/CB-10420
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android, iOS
>            Reporter: Hirbod
>
> I've researched a lot and I tried many ways for implementing Pull-to-refresh. 
> It is possible with some JS listeners, CSS3 Hacks, Scroll hacks. Some of them 
> work very good, but performance is always an issue when it comes to big lists.
> I would love to see native pull to refresh support being added to the 
> Webview. After reading a bit, it should be no problem at least for iOS. Don't 
> know about the handling with android. Crosswalk has this feature, but it's 
> Chrome/Webkits internal refresh, which will reload the whole page.
> I would like to have a native extension/plugin provided by Cordova, which 
> enables native pull to refresh and broadcast the event via JS.
> Init PTR -> Call JS -> Do something in JS -> Call success
> Timing etc need to be discussed, but I'm dead sure that this is possible. And 
> it's one of the most important features I am missing inside of my app for the 
> real native feeling.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to