Astro is not good at guessing navigation names. The first change would be in packages/integration/components/Header/Search.astro:L8, where you change transition:persist to transition:persist="some-funny-name". That should fix the focus (I haven't tried it though)