jQWidgets Forums

jQuery UI Widgets Forums Angular Angular- Menu list, SubMenu issue

This topic contains 6 replies, has 2 voices, and was last updated by  Kavya 6 years, 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Angular- Menu list, SubMenu issue #101217

    Kavya
    Participant

    Hi,

    while I’am performing some operations on contextmenu with submenus, main menu hides and submenu is still shown.
    Context menu is closed but submenu is still showing.
    How do we hide the submenu?

    Thanks in advance,
    Kavya

    Angular- Menu list, SubMenu issue #101240

    Martin
    Participant

    Hello Kavya,

    What are these operations that you perform?
    Can you provide some example, where this behavior could be observed or some instructions on how to reproduce this?
    Thank you!

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular- Menu list, SubMenu issue #101242

    Kavya
    Participant
    <li>Insert
          <ul>
            <li>Insert Above</li>
            <li>Insert Below</li>
          </ul>
        </li>
        <li>Delete</li>
        <li>Copy</li>
        <li>Paste</li>

    For jqxGrid – I have used this Contextmenu.
    When I delete a row, the menulist hides and if I move the mouse up the submenu appears.

    Angular- Menu list, SubMenu issue #101276

    Martin
    Participant

    Hello Kavya,

    I have created this Demo, based on your description.
    I still cannot reproduce the issue that you are talking about.
    Can you provide an example?
    Thank you!

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular- Menu list, SubMenu issue #101302

    Kavya
    Participant

    Hello Martin,

    I could reproduce issue in your demo as well.
    You just need to move the cursor up as soon as u delete row, You will see that the insert submenu(Insert Above and Insert Below) is opened/expanded.

    Thanks,
    Kavyashree M D

    Angular- Menu list, SubMenu issue #101310

    Martin
    Participant

    Hello Kavyashree M D,

    Yes, now I saw it. This is an issue that will have to be fixed.
    However, I found a Workaround for the moment.
    You select the <ul/> of the sub menu and set the style.display property of its nativeElement to “none” in a setTimeout function with 150 ms delay in the item click handler method.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular- Menu list, SubMenu issue #101320

    Kavya
    Participant

    Thank you

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.