Fixes #772 - Cursor jumps in search field

This commit is contained in:
Tom Moor
2018-09-29 23:10:07 -07:00
parent f78d9cb072
commit ed4013e7ee

View File

@ -192,7 +192,7 @@ class Search extends React.Component<Props> {
<SearchField
onKeyDown={this.handleKeyDown}
onChange={this.updateLocation}
value={this.query}
defaultValue={this.query}
/>
{showEmpty && <Empty>No matching documents.</Empty>}
<ResultList column visible={this.pinToTop}>