Results 1 to 2 of 2

Thread: autoScroll bar

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Vote Rating

    Default 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.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    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.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

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