Results 1 to 8 of 8

Thread: Scrolling performance is awful on BB10

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    2
      0  

    Default Answered: Scrolling performance is awful on BB10

    I've tested this out with trivial list apps as well as the kitchen sink.

    Is this the fault of Ext.scroll.Scroller or the browser? Scrolling performance is pretty decent on Android and iOS.

    Sidenote: Why does Sencha delegate scrolling behaviour to Ext.scroll.Scroller instead of the device's platform (like in JQuery Mobile)? It seems weird to have elastic scrolling for Android when it's not part of their UI language.

  2. Just stopping in to say that we have refactored scrolling for BB10 for the 2.2.0 RC release (next release). When it does come out (I have no public dates right now) I'd be very interested in knowing your experience with the refactor.

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    Quote Originally Posted by keyworks2 View Post
    Sidenote: Why does Sencha delegate scrolling behaviour to Ext.scroll.Scroller instead of the device's platform (like in JQuery Mobile)? It seems weird to have elastic scrolling for Android when it's not part of their UI language.
    To normalize and sometimes optimize scrolling across platforms.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    2
      2  

    Default

    It seems like an unnecessary perk to normalize scrolling across all platforms though. And it seems kind of costly to run some javascript, recalculate styles and trigger reflow every time you put your finger to the touch screen.

  5. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    In the case of fastbook, the scrolling is quite great. If things are done properly there really isn't any side effects. Some platforms are different than others and things will be worked through. I personally haven't used BB10 much so I can't judge it but I have used iOS and Android and have had success with the apps I have made.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  6. #5
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    2
      0  

    Default

    So just for anyone else who has this problem, in Ext.scroll.Indicator I put an else if for BB10 and used Ext.scroll.indicator.CssTransform instead of Ext.scroll.indicator.Default. I'm already seeing noticeable improvements in scrolling responsiveness for BB10 after literally 2 lines of code.

    Does this mean we could potentially see some BB10 specific scrolling code in a future release?

  7. #6
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    I will open a ticket in our bug system to investigate this more.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  8. #7
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    Just stopping in to say that we have refactored scrolling for BB10 for the 2.2.0 RC release (next release). When it does come out (I have no public dates right now) I'd be very interested in knowing your experience with the refactor.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  9. #8
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    2
      0  

    Default

    Thanks! Much appreciated.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •