View Full Version : autoScroll bar

8 Jan 2013, 1:39 PM
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
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.