[CLOSED] MenuPanel's Scrollbar on Chrome

  1. #1

    [CLOSED] MenuPanel's Scrollbar on Chrome

    On chrome. run the following example and expand Panel 2


    Vertical scrollbar is shown when it's not needed.


    Going further, if you try to scroll, scrollbar's height goes crazy and menu's items are removed.




    Further information:
    On Internet Explorer and on FireFox everything works as expected.

    If Panel 2 is placed as the first child of the accordion, everything works as expected.


    <!DOCTYPE html>
    <html>
    <head runat="server">
        <style type="text/css">
            .menucls {
                background-color: White !important;
            }
        </style>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:Panel Title="Ext.Net" Layout="AccordionLayout" Width="300" Height="400" runat="server" >
            <Items>
                <%--Panel 1--%>
                <ext:Panel Title="Panel 1" Html="Content" runat="server" />
                <%--Panel 2--%>
                <ext:MenuPanel Title="Panel 2" AutoScroll="true" runat="server">
                    <Menu AutoScroll="true" BodyCls="menucls" runat="server">
                        <Items>
                            <ext:MenuItem Text="Brazil" Icon="FlagBr" runat="server" />
                            <ext:MenuItem Text="United States" Icon="FlagUs" runat="server" />
                            <ext:MenuItem Text="Japan" Icon="FlagJp" runat="server" />
                        </Items>
                    </Menu>
                </ext:MenuPanel>
                <%--Panel 3--%>
                <ext:Panel Title="Panel 3" Html="Content" runat="server" />
            </Items>
        </ext:Panel>
    </body>
    </html>
    Thanks in advance.
    Attached Thumbnails Click image for larger version. 

Name:	mp001.png 
Views:	3 
Size:	3.0 KB 
ID:	20811   Click image for larger version. 

Name:	mp002.png 
Views:	4 
Size:	4.2 KB 
ID:	20821   Click image for larger version. 

Name:	mp003.png 
Views:	4 
Size:	3.4 KB 
ID:	20831   Click image for larger version. 

Name:	mp004.png 
Views:	3 
Size:	3.7 KB 
ID:	20832  
    Last edited by Daniil; Feb 20, 2015 at 7:18 PM. Reason: [CLOSED]
  2. #2
    Hello, Raphael!

    Is it an option for you to drop the AutoScroll="true" from the panel? If not, can you change your sample to illustrate in which situations having no AutoScroll="true" breaks your implementation?

    The MenuPanel has its own vertical scrolling mechanism, maybe you'll want something like a GridPanel or TreePanel in your accordion panel instead?

    I hope this helps. :)
    Fabrício Murta
    Developer & Support Expert
  3. #3

Similar Threads

  1. [CLOSED] Scrollbar issue with Chrome and SetTheme
    By fordprefect in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: May 14, 2013, 10:09 PM
  2. MenuPanel
    By macmilanfly in forum 1.x Help
    Replies: 0
    Last Post: Jul 19, 2012, 6:27 AM
  3. Replies: 0
    Last Post: Mar 12, 2012, 7:26 AM
  4. [CLOSED] [1.0] MenuPanel in v0.8.1 vs MenuPanel in v1.0
    By fehmeed.bilgrami in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 29, 2010, 6:17 AM
  5. Replies: 5
    Last Post: Nov 02, 2009, 12:31 PM

Posting Permissions