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.

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 Aug 11 '17 at 13:18
  • Used, thanks. But honestly, this is complete answers for the base question. What would you like to add more? :) – Rob Aug 14 '17 at 13:12

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