diff --git a/common/changes/office-ui-fabric-react/jspurlin-ComboBoxFixSelectedStylingSingleSelect_2018-05-29-20-33.json b/common/changes/office-ui-fabric-react/jspurlin-ComboBoxFixSelectedStylingSingleSelect_2018-05-29-20-33.json new file mode 100644 index 00000000000000..1195050a331b23 --- /dev/null +++ b/common/changes/office-ui-fabric-react/jspurlin-ComboBoxFixSelectedStylingSingleSelect_2018-05-29-20-33.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "ComboBox: Update styling so that the \"selected\" item does not get the \"selected\" look when navigating through the potential options.", + "type": "patch" + } + ], + "packageName": "office-ui-fabric-react", + "email": "jspurlin@microsoft.com" +} \ No newline at end of file diff --git a/packages/office-ui-fabric-react/src/components/ComboBox/ComboBox.tsx b/packages/office-ui-fabric-react/src/components/ComboBox/ComboBox.tsx index 2ebef0ae3be2a2..4bdc1aab726b17 100644 --- a/packages/office-ui-fabric-react/src/components/ComboBox/ComboBox.tsx +++ b/packages/office-ui-fabric-react/src/components/ComboBox/ComboBox.tsx @@ -1177,7 +1177,7 @@ export class ComboBox extends BaseComponent { } let idxOfSelectedIndex = -1; - if ((index !== undefined) && this.state.selectedIndices) { + if (this.props.multiSelect && (index !== undefined) && this.state.selectedIndices) { idxOfSelectedIndex = this.state.selectedIndices.indexOf(index); } return (idxOfSelectedIndex >= 0);