@@ -167,7 +167,13 @@ function getAndFocusNextNodeWithCustomAttribute(attriName) {
}
if (targetNode) {
+ // 如果重复选中某一区域,需要重新触发focus,所以先blur一下
+ if (document.activeElement === targetNode) {
+ targetNode.blur()
+ }
targetNode.focus()
+
+ // 如果无法focus,就强行focus
if (document.activeElement !== targetNode) {
targetNode.setAttribute('tabindex', '0')