1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    8
    Vote Rating
    0
    andrzej2008 is on a distinguished road

      0  

    Default Unanswered: scrolling problem in SDK 2.1

    Unanswered: scrolling problem in SDK 2.1


    I am trying to scroll to the panel that I added programmatically to the screen using panel.add() function. After I added the new panel I am waiting for the "maxpositionchange" event to make sure that scroller has been resized. Then I am calling the scroller.scrollTo(0, y, true). The page is not being scroll, however the "scrolled" event is fired immediately. This problem starts to occur after I upgraded to SDK v2.1.0-rc1. Has anyone else have the same problem? The scroller.scrollTo() is working fine if am I scrolling to already existing panel.
    Thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,207
    Answers
    3517
    Vote Rating
    858
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Sounds like you are doing it too soon.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1