Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJSIV-7231 in 4.1.3 Sprint 1.
  1. #1
    Sencha Premium Member
    Join Date
    Aug 2007
    Location
    Pilsen, Czech Republic
    Posts
    40
    Vote Rating
    0
    dherbolt is an unknown quantity at this point

      0  

    Default Showing/Hiding panel in borderLayout shows/hides all spliter on the same level

    Showing/Hiding panel in borderLayout shows/hides all spliter on the same level


    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.1.1
    • Ext 4.1.2

    Browser versions tested against:
    • FF 15
    • IE 7

    DOCTYPE tested against:
    • HTML 4 strict

    Description:
    • When I hide one of panels in border layout, this action hides also all splitter on the same nesting level as hiding panel.

    Steps to reproduce the problem:
    • Use attached example
    • Click on button 'Show/Hide north region'
    • See splitter between CENTER and SOUTH region

    The result that was expected:
    • NORTH region is hidden incl. splitter between it and CENTER region
    • Splitter between CENTER and SOUTH regions is still visible and can be used to resize SOUTH region

    The result that occurs instead:
    • NORTH region is hidden inc. splitter[OK]
    • Splitter between CENTER and SOUTH regions is also hidden [BUG]
    • SOUTH region can't be resized by mouse [BUG]

    Test Case:

    Code:
    Ext.onReady(function (){
    	Ext.create('Ext.Viewport', {
    		layout: 'border',
    		items: [{
    			region: 'center',
    			xtype: 'panel',
    			html: 'CENTER'
    		}, {
    			region: 'north',
    			xtype: 'panel',
    			height: 100,
    			id: 'north',
    			split: true,
    			html: 'NORTH'
    		}, {
    			region: 'south',
    			height: 100,
    			xtype: 'panel',
    			split: true,
    			html: 'SOUTH',
    			bbar: {
    				xtype: 'toolbar',
    				items: {
    					text: 'Show/Hide North region',
    					handler: function () {
    						Ext.getCmp('north').setVisible(!Ext.getCmp('north').isVisible());
    					}
    				}
    			}
    		}]
    	});
    });


    HELPFUL INFORMATION

    Additional CSS used:
    • only default ext-all.css

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,710
    Vote Rating
    436
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    This has been fixed for 4.1.3
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

    When posting code, please use BBCode's CODE tags.