diff --git a/pkg/interface/src/components/Omnibox.js b/pkg/interface/src/components/Omnibox.js index 511fd77f1..6358836de 100644 --- a/pkg/interface/src/components/Omnibox.js +++ b/pkg/interface/src/components/Omnibox.js @@ -32,6 +32,8 @@ export class Omnibox extends Component { if (prevProps && this.props.show && prevProps.show !== this.props.show) { Mousetrap.bind('escape', () => this.props.api.local.setOmnibox()); document.addEventListener('mousedown', this.handleClickOutside); + const touchstart = new Event('touchstart'); + this.input.dispatchEvent(touchstart); this.input.focus(); } }