Results 1 to 3 of 3

Thread: Wrong scroll height after orientation is changed

Hybrid View

Previous Post Previous Post   Next Post Next Post
    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
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    Have you tried in a recent release like 2.1.0 RC2?
    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
    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
      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?

Posting Permissions

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