Fix focusing search bar with hotkeys

main
Thibaut Girka 6 years ago committed by ThibG
parent c600bcfe1d
commit b1ed2b1d03

@ -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…
Cancel
Save