PDA

View Full Version : [INFOREQ] Wrong scroll height after orientation is changed



A.Tyshchyk
26 Oct 2012, 12:22 AM
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:
Ext.application({ name: 'Test',
viewport: {
autoMaximize: true
},
controllers: [],


launch: function() {
Ext.Viewport.setActiveItem({
xtype: 'container',
items: [{
xtype: 'container',
cls: 'test-cls'
}],
scrollable: true
})
}
});

<style>
.test-cls {
background-color: grey;
height: 1200px;
border-bottom: 1px solid red;
}
</style>

mitchellsimoens
26 Oct 2012, 7:41 AM
Have you tried in a recent release like 2.1.0 RC2?

A.Tyshchyk
29 Oct 2012, 8:50 AM
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?