Text box - first character ignored

On this page:

https://v0chnf.axshare.com

If you click on the search box, a panel opens, focused on the text box at the top. If you type a character, the “Near me” CTA disappears, which is right, but the character you entered doesn’t appear.

On this page:

https://v0chnf.axshare.com/#id=s1pxv5&p=search&g=1

The same thing happens but it accepts the first character. I actually started with the second (working) page and copied and pasted the same bits into the first (non-working) page.

I can’t for the life of me work out why. Any ideas?

Ok, I’ve just fixed it but I still don’t know why it’s a problem.

The dynamic panel with the search functionality was inside a group. I’ve now moved it up to the top level and it’s working.