Fixes #772 - Cursor jumps in search field
This commit is contained in:
@ -192,7 +192,7 @@ class Search extends React.Component<Props> {
|
|||||||
<SearchField
|
<SearchField
|
||||||
onKeyDown={this.handleKeyDown}
|
onKeyDown={this.handleKeyDown}
|
||||||
onChange={this.updateLocation}
|
onChange={this.updateLocation}
|
||||||
value={this.query}
|
defaultValue={this.query}
|
||||||
/>
|
/>
|
||||||
{showEmpty && <Empty>No matching documents.</Empty>}
|
{showEmpty && <Empty>No matching documents.</Empty>}
|
||||||
<ResultList column visible={this.pinToTop}>
|
<ResultList column visible={this.pinToTop}>
|
||||||
|
Reference in New Issue
Block a user