Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export class BasePicker<T, P extends IBasePickerProps<T>> extends BaseComponent<

protected renderSuggestions(): JSX.Element | null {
const TypedSuggestion = this.SuggestionOfProperType;
return this.state.suggestionsVisible ? (
return this.state.suggestionsVisible && this.input ? (
<Callout
isBeakVisible={ false }
gapSpace={ 5 }
Expand Down