Skip to content

Commit 9860acb

Browse files
authored
Merge pull request #2612 from Akshat55/content-switcher-fix
fix: Query select by new & old selector
2 parents 77fdb13 + bed4e13 commit 9860acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content-switcher/content-switcher.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class ContentSwitcher implements AfterViewInit {
8181

8282
@HostListener("keydown", ["$event"])
8383
hostkeys(event: KeyboardEvent) {
84-
const buttonList = Array.from<any>(this.elementRef.nativeElement.querySelectorAll("[cdsContentOption]"));
84+
const buttonList = Array.from<any>(this.elementRef.nativeElement.querySelectorAll("[cdsContentOption], [ibmContentOption]"));
8585

8686
switch (event.key) {
8787
case "ArrowRight":

0 commit comments

Comments
 (0)