Input loses focus on first render when using navigate
Hey everyone! I have an input that sets a query parameter in the URL using
Is there a way to avoid this problem? This is what I am doing:
useNavigate, this works pretty good, however there is one use case where the input loses focus when the page is rendered for the first time and the user types one character.Is there a way to avoid this problem? This is what I am doing: