浏览代码

Comment out not used Tab code at accessibility related changes.

Thanks to xet7 !

Related https://github.com/wekan/wekan/pull/5853
Lauri Ojansivu 15 小时之前
父节点
当前提交
0e32f666eb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/components/lists/listBody.js

+ 2 - 0
client/components/lists/listBody.js

@@ -414,6 +414,7 @@ BlazeComponent.extendComponent({
         // or `Enter` to validation the auto-completion. We also need to stop the
         // event propagation to prevent the card from submitting (on `Enter`) or
         // going on the next column (on `Tab`).
+        /*
         onKeydown(evt, commands) {
           // Prevent custom focus movement on Tab key for accessibility
           // if (evt.keyCode === 9 || evt.keyCode === 13) {
@@ -422,6 +423,7 @@ BlazeComponent.extendComponent({
           //}
           return null;
         },
+        */
       },
     );
   },