Bug Report T291487
Visible to All Users

ASPxMenu - Submenu's vertical scrollbar overlaps a menu item text

created 9 years ago

Hi,

C#
<dx:ASPxMenu ID="ASPxMenuSite" runat="server" AccessibilityCompliant="True" EnableSubMenuScrolling="True">

Please see attached;

What do I set to stop this behavior of the scrollbar overlaying the text.

Regards,

Show previous comments (3)

    Hi Vlad,
    Other than adding some items with no styling this is it.
    <dx:ASPxMenu ID="ASPxMenuSite" runat="server" AccessibilityCompliant="True" EnableSubMenuScrolling="True">
                       <ItemStyle Height="24px" Wrap="True" />

    1. Try testing on IE 11 windows 8.1 (the platform you, as in the company, have not tested, as in adequately,
      on for 2 volumes)
    2. Also try a longer "text".
      Regards,

      Hi Nastya,
      I modified your example to reproduce the problem.
          windows 8.1 ie 11
          Control works until the untested theme Aqua is applied.
      ***We use the theme globally but broken is broken so it probably does not matter where it is applied.
      ***fixate on the longest text please.
      Regards,
       <dx:ASPxMenu ID="Menu1" runat="server" AccessibilityCompliant="true" EnableSubMenuScrolling="true" Theme="Aqua">
                 <Items>
                     <dx:MenuItem Text="Item1">
                         <Items>
                             <dx:MenuItem Text="SubItem1 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem2 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem3 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem4 SubItem1 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem5 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem6 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem7 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem8 SubItem1"></dx:MenuItem>
                             <dx:MenuItem Text="SubItem9 SubItem1"></dx:MenuItem>
                         </Items>
                     </dx:MenuItem>
                 </Items>
             </dx:ASPxMenu>

        Hi,
        When saving that last comment I got a script error, probably something else that was not tested on IE 11
        Attached is a screenshot of the script error.
        If you cannot reproduce this try testing on IE 11
        Regards,

        Answers approved by DevExpress Support

        created 9 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          created 9 years ago

          Hello James,
          I managed to reproduce the issue only after I added a script causing a JS error (please see http://screencast.com/t/4SkGoL3N2D). In fact, the vertical scrollbar is displayed in this case because the JavaScript error aborts the correct initialization of ASPxMenu on the client side. Would you please test the modified project with the incorrect script and without it to see if the issue persists and let me know of your results?
          I recommend you check the client code and solve all JavaScript errors that occur when the page is loaded. It is necessary for the correct initialization of ASPxMenu (and other DevExpress controls if they are present on a page). The error seems to occur in third-party code. So, I cannot provide you with any certain recommendations. However, if you send me a test project for research, I will be happy to assist you with this issue.

            Show previous comments (1)

              Hi Nastya
              I have attached another video where the only change is removing the theme.
              Notice how IT WORKS (yay yay).
              Story problem,
              If a picture is worth a thousand words and a user sends you 2 pictures and a thousand words how many words did it take to fix the problem?
              It is all good, I would deny everything too if I had to process insurance claims…
              Regards,

              Nastya (DevExpress Support) 9 years ago

                Hello James,
                Thank you for the additional information and informative screencasts. Indeed, one of my colleagues managed to reproduce the issue on his computer testing the project without adding any JS errors. I forwarded this ticket to our developers for further investigation. We will contact you as soon as we have any results.
                In the meantime, I suggest that you try a workaround. Define the following CSS rule to avoid displaying the vertical scrollbar:

                CSS
                .dxm-scrollArea { -ms-overflow-style: none !important; }

                Please let me know if this workaround helps you.

                  Hi Nastya,
                  Thank you for your assistance on this issue.
                  Regards,

                  Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                  Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.