Results 1 to 3 of 3

Thread: [4.1.3] LoadMask setZIndex implementation issue

    This duplicates another bug already reported in our system: EXTJS-7824
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,016
    Vote Rating
    125
      0  

    Default [4.1.3] LoadMask setZIndex implementation issue

    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.3

    Description:
    • zIndex can be "auto". So, we can get NaN in the red line. This looks a defect.

    Ext.LoadMask setZIndex
    Code:
    setZIndex: function (index) {
        var me = this,
            owner = me.activeOwner;
    
        if (owner) {
            // it seems silly to add 1 to have it subtracted in the call below,
            // but this allows the x-mask el to have the correct z-index (same as the component)
            // so instead of directly changing the zIndexStack just get the z-index of the owner comp
            index = parseInt(owner.el.getStyle('zIndex'), 10) + 1;
        }
    
        me.getMaskEl().setStyle('zIndex', index - 1);
        return me.mixins.floating.setZIndex.apply(me, arguments);
    }
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    646
    Vote Rating
    12
      0  

    Default

    @mitchellsimoens
    Looks like a duplicate of http://www.sencha.com/forum/showthread.php?228673

Posting Permissions

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