Skip to content

Commit

Permalink
Fix empty option in suggest
Browse files Browse the repository at this point in the history
Need to calculate item height from font
  • Loading branch information
stasyzon committed May 22, 2019
1 parent d0ddf8d commit 5f076b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editors/SuggestBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class SuggestBoxEditor extends React.Component {
}

if (options.length && this.props.withEmptyOption) {
options.unshift({id: null, label: ''});
options.unshift({id: null, label: '\u00A0'});
}

if (this._isMounted) {
Expand Down

0 comments on commit 5f076b2

Please sign in to comment.