Results 1 to 2 of 2

Thread: scrolling problem in SDK 2.1

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    Sounds like you are doing it too soon.
    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

Posting Permissions

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