We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9d242 commit 22461feCopy full SHA for 22461fe
packages/radio/src/radio-group.vue
@@ -74,8 +74,10 @@
74
e.preventDefault();
75
if (index === 0) {
76
roleRadios[length - 1].click();
77
+ roleRadios[length - 1].focus();
78
} else {
79
roleRadios[index - 1].click();
80
+ roleRadios[index - 1].focus();
81
}
82
break;
83
case keyCode.RIGHT:
@@ -84,8 +86,10 @@
84
86
e.stopPropagation();
85
87
88
roleRadios[0].click();
89
+ roleRadios[0].focus();
90
91
roleRadios[index + 1].click();
92
+ roleRadios[index + 1].focus();
93
94
95
default:
0 commit comments