diff --git a/common/changes/office-ui-fabric-react/master_2018-03-16-09-03.json b/common/changes/office-ui-fabric-react/master_2018-03-16-09-03.json new file mode 100644 index 00000000000000..f6e458d841e12e --- /dev/null +++ b/common/changes/office-ui-fabric-react/master_2018-03-16-09-03.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "BasePicker: suggestions should not be shown in BasePicker when input does not exist.", + "type": "patch" + } + ], + "packageName": "office-ui-fabric-react", + "email": "bratukha.m@gmail.com" +} diff --git a/packages/office-ui-fabric-react/src/components/pickers/BasePicker.tsx b/packages/office-ui-fabric-react/src/components/pickers/BasePicker.tsx index 9351ba8ac67693..025ab23d342e72 100644 --- a/packages/office-ui-fabric-react/src/components/pickers/BasePicker.tsx +++ b/packages/office-ui-fabric-react/src/components/pickers/BasePicker.tsx @@ -230,7 +230,7 @@ export class BasePicker> extends BaseComponent< protected renderSuggestions(): JSX.Element | null { const TypedSuggestion = this.SuggestionOfProperType; - return this.state.suggestionsVisible ? ( + return this.state.suggestionsVisible && this.input ? (