0

I am wondering if there is any clean way to unbind keyboard (left and right arrows) from mage/tabs widget? This is how I init tabs in my custom-script.js:

`var tabs = $('#element').tabs({
     "openedState": "active"
 });`

This is tabs source code

But both tabs.unbind('keydown'); and tabs.unbind('_keydown'); don't work.

edit: Solved, "openOnFocus": false disable keyboard navigation.

1 Answer 1

0

Solved, "openOnFocus": false disable keyboard navigation.

2
  • Please use the edit link on your question to add additional information. The Post Answer button should be used only for complete answers to the question. - From Review
    – Priyank
    Commented Aug 11, 2017 at 13:18
  • Used, thanks. But honestly, this is complete answers for the base question. What would you like to add more? :)
    – Rob
    Commented Aug 14, 2017 at 13:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.