fix: up and down hotkeys in search bar (#39529)
This fix prevents whitespace from breaking the up and down hotkeys in the search bar.
This commit is contained in:
committed by
GitHub
parent
9e3441fe1d
commit
0ccb140f71
@ -183,7 +183,7 @@ export class SearchBar extends Component {
|
||||
<label className='fcc_sr_only' htmlFor='fcc_instantsearch'>
|
||||
Search
|
||||
</label>
|
||||
<ObserveKeys>
|
||||
<ObserveKeys except={['Space']}>
|
||||
<SearchBox
|
||||
focusShortcuts={[83, 191]}
|
||||
onChange={this.handleChange}
|
||||
|
Reference in New Issue
Block a user