Using latest version of @solid-primitives/autofocus.
I am trying to use it in this project.
In theory I am doing exactly the same thing as the docs say.
Here is the component.
Ref and createAutofocus here.
Then put it on input here.
However when you load the app and press the plus button on the bottom, it will only autofocus the first time. The second time you press it, it will just do this:

I am not sure what's wrong. The weirdest thing though is that if I activate it through keyboard (press n key), it will always autofocus. I have no idea why.