next13-pocketbase-demo icon indicating copy to clipboard operation
next13-pocketbase-demo copied to clipboard

Does not work in Firefox

Open J4mez opened this issue 2 years ago • 4 comments

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.

J4mez avatar Nov 03 '22 07:11 J4mez

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

kellenproctor avatar Nov 03 '22 18:11 kellenproctor

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

DevinCLane avatar Nov 03 '22 19:11 DevinCLane

image image

Alex0White avatar Nov 06 '22 10:11 Alex0White

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.

chintogtokh avatar Nov 22 '23 05:11 chintogtokh