Keyboard Add On: open submenu when toggled, not automatically?

Home Forums Older releases 1.0.x + Bootstrap addon Keyboard Add On: open submenu when toggled, not automatically?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3762
    blobula
    Participant

    Hello,

    I’m currently using the smartmenus plugin on my site with the keyboard add on. I was curious if it was possible to change submenus from opening automatically on focus to only opening them if they are toggled via the keyboard.

    Example:
    http://vadikom.github.io/smartmenus/src/demo/keyboard-navigation.html
    Notice the submenu automatically opens when the user arrows down to a parent with a submenu.

    Thank you!

    #3776
    admin
    Keymaster

    Hi, it can’t be achieved very easily. It’s designed to work like a desktop app menu – as soon as some sub menu is activated (via Enter, Space or Down arrow) just moving around the focus via the arrow keys activates any other sub menus automatically until Esc is pressed. So it’s toggleable behavior but for the whole menu tree.

    #3785
    blobula
    Participant

    Thank you!

    Would it be a recoding of logic already present in the menu code, or would it be something additional that could be added?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?