Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    8
    Vote Rating
    0
    DragoslaV is on a distinguished road

      0  

    Default iOS 7 issue with iPad in landscape mode

    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:
    Code:
    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();
    
    
                orientationEvent.fire(Ext.orientation, size.width, size.height);
    
    
                //Begin code to fix bug TOUCH-4917
                var checkOri = setInterval(function() {
                    if(window.scrollY === 0) {
                        clearInterval(checkOri);
                    } else {
                        window.scrollTo(0,0);
                    }
                }, 300);
                //End code to fix bug TOUCH-4917
            };
    
    
            Ext.Viewport.on('resize', onOrientationChange, this);
        }
    
    
        orientationEvent.addListener(fn, scope, options);
    };

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


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

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar