Join GitHub today
manual autofocus of command pallet input to prevent scroll to bottom of page, fixes #631 #1767
This fixes #631, where opening the command pallet scrolled the page to the bottom. This was caused by setting the autofocus attribute on the input element. The input was not yet rendered into the DOM because of being inside a popover, which lead to the unintended scroll.
Manually focus the rendered input element after the popover has opened.