jQuery UI Widgets Forums Navigation Menu, Context Menu Minimize after construction

This topic contains 7 replies, has 2 voices, and was last updated by  Hristo 3 years, 9 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • Minimize after construction #87828

    CaptainBli
    Participant

    On any demo, call $(“jqxMenu”).jqxMenu(“minimize”, true);
    The menu minimizes though when expanding the menu it doesn’t seem to work well. Nor do events (itemclick) trigger anymore.

    Minimize after construction #87877

    CaptainBli
    Participant

    itemclick only triggers on the main menu toggle. Further, the menu doesn’t reload in the same div as before minimizing, thus causing trouble with the predefined click handlers.

    Minimize after construction #87892

    Hristo
    Participant

    Hello CaptainBli,

    Could you provide us an example that demonstrates this issue and more detail?
    Also, I would like to ask you what you would like to achieve.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Minimize after construction #87908

    CaptainBli
    Participant

    As I mentioned previously that if you take any example of menu and ask it to minimize and have keyboardNavigation, jqxMenu(“minimize”) it will no longer trigger itemclick or autoclose or act like it does when it is non-minimized. Example:
    Fiddle Example

    I would like it to close on click as well. Can we close a minimized menu? I have tried jqxMenu(“close”) with no success. Only upon clicking on the minified icon will it close. I haven’t yet tracked down how that works so that I can call it too.

    Minimize after construction #87909

    CaptainBli
    Participant

    It appears to be related to the keyboardNavigation option. If I take this out then the minimized menu itemclick’s work, though I still can’t close the menu programmatically. And I need the keyboardNavigation.

    Minimize after construction #87955

    Hristo
    Participant

    Hello CaptainBli,

    About the “close” method – Closes the menu (only in context menu mode).
    Unfortunately, it is not possible with API options. You could try to create some workaround.
    Thank you for your understanding.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Minimize after construction #88103

    CaptainBli
    Participant

    To help others: in order to close the pop-out menu when minimized I used trigger(“click”) on the icon like

    $(".jqx-menu-minimized-button").trigger("click");

    I still have not been able to find out a way to have keyboardNavigation to work. This is definitely a bug in the code. I have to have keyboard navigation in order for this to be a viable solution.

    Minimize after construction #88139

    Hristo
    Participant

    Hello CaptainBli,

    Thank you for the interest to jqxMenu.
    It is a matter of personal settings can capture condition in which the pressure “esc” or “enter” and perform this logic.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.