htmx icon indicating copy to clipboard operation
htmx copied to clipboard

Response targets: Issue with form uploads on Firefox on MacOS

Open amitsaha opened this issue 2 years ago • 0 comments

Hello, I am using the response targets extension as follows (local copy from https://github.com/bigskysoftware/htmx/commit/2bbe36301af16c0b62c305692c304bff353f3272):

Reproducer: https://github.com/amitsaha/htmx-bug-reproducer

Observed behavior:

  • When I only click on Upload without selecting a file, i see that the non-200 response error message is shown
  • However, when I select a file and then click on Upload the error message is displayed on Google Chrome and Safari, but on Firefox on MacOS M1, the request is "blocked" with NS_ERROR_NET_RESET. This issue doesn't happen on Linux.
  • I see the same behavior for 200 responses as well

Any ideas? thank you.

amitsaha avatar Jul 11 '23 08:07 amitsaha