Fix focusing search bar with hotkeys
parent
5de267d6ff
commit
a2c595d0d0
|
@ -279,7 +279,7 @@ export default class UI extends React.Component {
|
|||
handleHotkeySearch = e => {
|
||||
e.preventDefault();
|
||||
|
||||
const element = this.node.querySelector('.search__input');
|
||||
const element = this.node.querySelector('.drawer--search input');
|
||||
|
||||
if (element) {
|
||||
element.focus();
|
||||
|
|
Loading…
Reference in New Issue