fireship-io / next13-pocketbase-demo

Demo for the new Next.js 13 features with Pocketbase.
276 stars 139 forks source link

Does not work in Firefox #7

Open J4mez opened 2 years ago

J4mez commented 2 years ago

In Firefox, when creating a new note the site crashes and an unhanded network fetch error is displayed for a split second. Tested same instance in edge and chrome witch both worked fine.

kellenproctor commented 2 years ago

Same problem for me. At this point, this is probably a next 13 bug.

DevinCLane commented 2 years ago

Yep I had the same issue on Firefox, works on Chrome. Not sure what the issue is.

Alex0White commented 2 years ago

image image

chintogtokh commented 12 months ago

I'm late to the party but looks like you need to add a e.preventDefault() in the create function here. Then need to manually refresh the page post-request, like using router.refresh().

I think its just due to how Firefox/Chrome handle form requests differently.