Results 1 to 3 of 3

Thread: TabPanel autoscroll to top

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
      0  

    Default TabPanel autoscroll to top

    Hey,
    I have a big problem with FormPanel. After second time I try to access the FormPanel after trying to scroll panel down it still go back to top.
    I did some research, it looks like div of class 'x-scroller-parent' don't get required css width and height properties. After manually editing html to add properties, or resize screen scroll starts to work correctly

    I'm attaching dom tree when scrolling is working and not-working, as well as javascript code I use to create TabPanel with FormPanel.

    I sincerely hope that some of you know solution to this problem, as it seems to be bug with sencha itself, and not a code.
    Attached Files Attached Files

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

    Default

    Is this when you are using the update method to update the html?
    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

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
      0  

    Default

    This happened when I try to edit booking opening the summary Panel.
    I think I fix that removing unecessary nesting. As you can see in attached code I nested FormPanel in a Panel and then attach it to Tab Panel. I removed the Panel, and it solves the problem
    Thanks
    Kamil

Tags for this Thread

Posting Permissions

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