Results 1 to 2 of 2

Thread: autoScroll bar

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default autoScroll bar

    Hi,
    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.
    Thanks

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •