refetchOnWindowFocus seems to be getting ignored sometimes
I have a file where I lay out all of the queries with the query options; the one in question:
And on the Create/Edit page, this is how said hook is used, for the scenario to load the data into the form:
The issue with this is that the
refetchOnWindowFocus option seems to sometimes be ignored. In the screen recording you will see a video of me clicking back and forth changing the focus, and about 1 in every 4 clicks it refetches the data and resets the form. this could be an issue as the user would lose their data if they needed to click away in the form.I tried to create a minimal reproduction but was unable to.