12 Oct 2012 3:44 PM #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.
14 Oct 2012 10:06 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sounds like you are doing it too soon.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
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.