Skip to content

Commit 960f927

Browse files
authored
fix(ui5-select): make disabled select not focusable (#2229)
1 parent a03f2b3 commit 960f927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/main/src/Select.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,8 @@ class Select extends UI5Element {
579579

580580
get tabIndex() {
581581
return this.disabled
582-
&& this.responsivePopover // Handles focus on Tab/Shift + Tab when the popover is opened
583-
&& this.responsivePopover.opened ? "-1" : "0";
582+
|| (this.responsivePopover // Handles focus on Tab/Shift + Tab when the popover is opened
583+
&& this.responsivePopover.opened) ? "-1" : "0";
584584
}
585585

586586
get classes() {

0 commit comments

Comments
 (0)