Famous / famous

This repo is being deprecated. Please check out http://github.com/famous/engine
http://deprecated.famous.org
Mozilla Public License 2.0
6.26k stars 686 forks source link

Very bad performance for ScrollView on Android/Cordova #685

Closed mutazmq closed 9 years ago

mutazmq commented 9 years ago

Please watch this video My device is Galaxy S4, Android 4.4.2. App packaged by Cordova. I copied the phone app example on Famo.us website and just added ScrollView to its PageView. However, and even though ScrollView has no content still, the performance is very disappointing.

I also tried scrolling on Chrome browser installed on my device. There is some performance gain but it is still noticeably lagging.

Any idea? Thanks

MylesBorins commented 9 years ago

Are you using fastclick? Have you tried building with crosswalk?

mutazmq commented 9 years ago

I am using fastclick. There is some performance gain when I commented it out, but still in Cordova it is lagging. About crosswalk, I used latest version of Chrome on my device instead. Performance still bad (with fastclick commented out).

mutazmq commented 9 years ago

Do you think I can get over this issue? Another question, is Famous actively developed? I don't see any activity recently.

Thanks

MylesBorins commented 9 years ago

@mutazmq the public version is not currently actively developed. Our resources have been put towards MixedMode a new version of the platform that will be released in conjunction with jQuerySF

MylesBorins commented 9 years ago

did you do a build with crosswalk though?

amitchoubey commented 9 years ago

@TheAlphaNerd can you please make any example of application with crosswalk & cordova or phonegap using famo.us and can you please share it with us.

dcsan commented 9 years ago

@mutazmq how does that view work just in the chrome browser, ie not a cordova app? chrome the browser is definitely using a "chrome webview". you could also try to get a stock AOSP browser to see if it's a browser rendering engine issue or a famous problem.

I also tried scrolling on Chrome browser installed on my device. There is some performance gain but it is still noticeably lagging.

right. so it's a problem with famous

in my experience too even on the latest samsung devices the famous scrollview is jerky and unusable and probably responsible for turning lots of people off famous. hopefully mixed mode will deliver something better.

mutazmq commented 9 years ago

@dcsan I guess that the webview Chrome uses is an updated version than my android one. I'm not sure though. I just visually noticed a performance gain. Anyway, I stopped playing with famous and awaiting mixed mode. Back to native for now!!

MylesBorins commented 9 years ago

Hey all, I'm closing this issue. If you would like to continue the discussion please come to teh famous community-slack

http://slack.famous.org

you can signuup at http://slack.famous.org/signup