appframework
appframework copied to clipboard
Scroller doesn't work on WP8
Hi, i'm having a problem with the app's framework scroller on an application developed with cordova, backbone (which depends on jQuery and underscore). The scroller works fine on BB10 and Android. But in WP8 doesn't work. I can't scroll the cellphone display. It is as if frozen. We try disabling js scrolling, like this: $.feat.nativeTouchScroll=true And we also try including the af.desktopBrowsers.js plugin We couldn't deploy the application because of this issue. Can you give us any sugestion or solution?
I'm deploying the app to a Nokia Lumia 925 with Windows Phone 8.1 installed (OS version: 8.10.12393.080)
Thank you very much in advanced!
Which container system are you using to deploy it with
Are you sure you are including af.desktopBrowsers.js plugin
Can you host a demo somewhere? We need a lot more information before we can even attempt to help
What do you mean with container system? I'll post you a simple app that I was using as a concept test. I don't have access to the source code right now.
Thank you.
How are you deploying your hybrid app? Cordova CLI, Phonegap Build, Intel XDK, etc....
We are using both Cordova CLI as PhoneGap Build. With the same results. I've included af.desktopBrowsers.js plugin with a script tag before this lines:
Sorry I forgot the lines:
script type="text/javascript" charset="utf-8" src="libraries/appframework.js" script type="text/javascript" charset="utf-8" src="libraries/ui/appframework.ui.js"
Can you put up a simple demo (html page). And are you using the latest from github?
Hello, it worked! I think it was a problem with the order of the scripts. It worked int this order:
script type="text/javascript" charset="utf-8" src="./libraries/appframework.js" script type="text/javascript" charset="utf-8" src="./libraries/ui/appframework.ui.js" script type="text/javascript" charset="utf-8" src="./libraries/plugins/af.desktopBrowsers.js"
I made a deploy to my WP8 device and worked fine. The only thing I have to say is that is a little slow. If I have a long list of items, let's say +100, it's recommended that I use infinite scrolling? Or some way of fetching the records on demand...
I'm using the latest from Github, but the branch 2.1.1. Should I use other version?
Anyway, I share you the link to a github repository where it's the simple demo app, in case you're interested to see it.
Thank you very much!
Sorry, this is the link
https://github.com/leogit81/appFrameworkTestApp