Accordion Layout Issue - v2.0 beta

  1. #1

    Accordion Layout Issue - v2.0 beta

    My apologies if this has been already reported. I search the forum for 'Accordion' but didn't find any relevant posts.

    If a window with accordion layout is closed, it leaves some of the items on the screen. Similarly, the dragging the window is not natural.

    See the following samples: (Close the accordion window and you will see some left over items)
    https://examples2.ext.net/#/Layout/A...sic_in_Markup/
    https://examples2.ext.net/#/Desktop/...tion/Overview/


    v1.x example seems to work OK: https://examples1.ext.net/#/Layout/A...sic_in_Markup/
    Attached Thumbnails Click image for larger version. 

Name:	accordion_layout_issue_v2.png 
Views:	111 
Size:	63.5 KB 
ID:	3935  
  2. #2
    Hi,

    Thank you for the report. At this moment, I can suggest the following fix
    <script type="text/javascript">
    Ext.panel.Panel.override({
                ghost : Ext.Function.createInterceptor(Ext.panel.Panel.prototype.ghost, function(){
                     if (this.floating) {
                        this.el.setVisibilityMode(Ext.Element.DISPLAY);
                     }
                })
            });
    </script>
  3. #3
    Above fix is not correct in all cases
    Try this
    <script type="text/javascript">
            Ext.panel.Panel.override({
                afterRender : function(){
                     this.callParent(arguments);
                     if (this.floating) {
                        this.el.setVisibilityMode(Ext.Element.DISPLAY);
                     }
                }
            });
        </script>
  4. #4
    Thanks, that fixed the issue (in my test code).

Similar Threads

  1. [CLOSED] Accordion Layout Style Issue
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 25, 2012, 2:36 PM
  2. [FIXED] [2.0 Beta 2] [2.0] Accordion
    By Alexx in forum Bugs
    Replies: 1
    Last Post: Apr 22, 2012, 4:43 PM
  3. [CLOSED] Accordion like layout
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 20, 2012, 2:45 PM
  4. [CLOSED] custom accordion layout issue
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 30, 2011, 12:32 AM
  5. Accordion layout
    By Elie.fakhry in forum 1.x Help
    Replies: 1
    Last Post: Oct 12, 2010, 8:53 PM

Tags for this Thread

Posting Permissions