Results 1 to 2 of 2

Thread: iOS 7 issue with iPad in landscape mode

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Vote Rating

    Default iOS 7 issue with iPad in landscape mode

    We experience the same bug as TOUCH-4917 with the orientation change in Touch 1.1.
    However we dont experience that the docked bottom is cut off, this works perfectly.

    This is what I did to make a workaround:
    Ext.EventManager.onOrientationChange = function(fn, scope, options) {
        var me = this,
            orientationEvent = me.orientationEvent;
        if (!orientationEvent) {
            me.orientationEvent = orientationEvent = new Ext.util.Event();
            var onOrientationChange = function(viewport, size) {
                Ext.orientation = Ext.Viewport.getOrientation();
      , size.width, size.height);
                //Begin code to fix bug TOUCH-4917
                var checkOri = setInterval(function() {
                    if(window.scrollY === 0) {
                    } else {
                }, 300);
                //End code to fix bug TOUCH-4917
            Ext.Viewport.on('resize', onOrientationChange, this);
        orientationEvent.addListener(fn, scope, options);

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Thank you for posting your workaround for the community.
    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

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

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