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.
2 parents ed21f9e + 3d3f0b4 commit cdaca30Copy full SHA for cdaca30
src/tabs/tab-headers.component.ts
@@ -139,13 +139,19 @@ export class TabHeaders implements AfterViewInit, AfterContentInit {
139
if (this.currentSelectedTab < this.allTabHeaders.length - 1) {
140
event.preventDefault();
141
this.allTabHeaders[this.currentSelectedTab + 1].focus();
142
+ } else {
143
+ event.preventDefault();
144
+ this.allTabHeaders[0].focus();
145
}
146
147
148
if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
149
if (this.currentSelectedTab > 0) {
150
151
this.allTabHeaders[this.currentSelectedTab - 1].focus();
152
153
154
+ this.allTabHeaders[this.allTabHeaders.length - 1].focus();
155
156
157
0 commit comments