8 Jan 2013 1:39 PM #1
Unanswered: autoScroll bar
I have a form setting autoScroll to true. I add multi grids into the form dynamically. When screen shows up and I click on the form ( actually, on any line in the grid that is on the view) for the first time (not second time), the form will scroll down to a certain distance based on how big the content in the form. I don't know why the form scroll down automatically. It happened only when i first time click on it.
Then I used a container wrapped the form and moved autoScroll: true to the container, but the same thing happen.
How can I stop this scrolling? any idea I will appreciate.
10 Jan 2013 10:56 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It's not really Ext JS that is scrolling it, autoScroll just sets some CSS rules. What's likely happening is the browser is relaying things out because of some DOM changes forced it to. This was an bug in 4.1.1 but I think it was fixed in 4.1.3.
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 email@example.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.