Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    32
    Vote Rating
    1
    A.Tyshchyk is on a distinguished road

      0  

    Default Wrong scroll height after orientation is changed

    Wrong scroll height after orientation is changed


    REQUIRED INFORMATION
    Ext version tested:
    • Sencha Touch 2.1.0 RC2
    Browser versions tested against:
    • Android Browser 4.0

    Steps to reproduce the problem:
    • viewport.autoMaximize must be true
    Description:
    • (Sumsung Galaxy S2)When orientation is changed to horizontal the browser's toolbar slipping down page. As a result bottom part of page is hidden
    • (HTC Sensation ) The same problem when the toolbar appears after it was hidden.
    Test Case:
    Code:
    Ext.application({        name: 'Test',
            viewport: {
                autoMaximize: true
            },
            controllers: [],
    
    
            launch: function() {
                Ext.Viewport.setActiveItem({
                    xtype: 'container',
                    items: [{
                        xtype: 'container',
                        cls: 'test-cls'
                    }],
                    scrollable: true
                })
            }
        });
    HTML Code:
    <style>        
    .test-cls {
                background-color: grey;
                height: 1200px;
                border-bottom: 1px solid red;
            }    
    </style>


  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,649
    Vote Rating
    898
    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


    Have you tried in a recent release like 2.1.0 RC2?
    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
    May 2012
    Posts
    32
    Vote Rating
    1
    A.Tyshchyk is on a distinguished road

      0  

    Default


    Yes. I've just tried to do the same on the version 2.1.0 RC2 and the bug is not disappeared

    What additional information you want me to add?

Thread Participants: 1