Problem with focusing in on input

Hi all,

I’m having a problem with getting the browser to focus on input box of my query suggestion form. The page has a button that loads the form in a modal popup box. After the form is loaded, a user has to click in the input field. I would like the browser to focus on the input field without the user needing to click into it. So far, I can’t seem to get it to work. I’ve already tried using the autoFocus property too. Here is my code…I’ve left out irrelevant parts…

I see no problem with this code, it focuses for me: divine-violet-z3inr - CodeSandbox

Can you edit it to show the issue @brent.miller ?