1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
    Marrbacca is on a distinguished road

      0  

    Default Unanswered: TabPanel autoscroll to top

    Unanswered: 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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Answers
    3541
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Is this when you are using the update method to update the html?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
    Marrbacca is on a distinguished road

      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

Thread Participants: 1

Tags for this Thread