Skip to content

Commit

Permalink
fix(ui5-radiobutton): fix keyboard handling on TAB/SHIFT+TAB (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid authored Mar 25, 2019
1 parent a4915df commit f2a18cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/RadioButtonTemplateContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RadioButtonTemplateContext {
context = {
ctr: state,
readOnly: state.disabled || state.readOnly,
tabIndex: state.disabled ? undefined : "0",
tabIndex: state.disabled || (!state.selected && state.group) ? "-1" : "0",
circle: compact ? SVGConfig.compact : SVGConfig.default,
classes: { main: mainClasses, inner: innerClasses },
styles: {
Expand Down

0 comments on commit f2a18cf

Please sign in to comment.