-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inputElement triggers hang with continuous xhr requests #460
Comments
Which browser and platform? This jsaddle behaviour seems to happen for at least some people (if not everyone) on Firefox. I'm not entirely certain what causes it, but it only seems to happen with ob run and doesn't happen with the ghcjs frontend. Personally, I just use Chrome for ob run, even though I typically use Firefox for most things. It would be nice to sort out why this is happening. |
My understanding is that this behaviour is expected since |
It certainly should be communicating with jsaddle, perhaps even quite a bit, depending on the user input you're providing. It should not be unresponsive and thrashing. |
@cgibbard So that's how it was. Thank's for your explaination. |
Oooh, that's interesting. All the black magic obelisk is doing would be much nicer, if I’d know about it.^^ I’m running Firefox 67.0.4 (64-bit) on nixos-19.03. So is there a way to use |
There is no support for using ghcjs(i) with |
I'm having the same issue in Firefox, it works in Chromium. |
I think it would be good to warn about this when we tell people how to develop using |
Is this not because it's synchronous? |
We have a note about this in the README and I am adding a section to the FAQ in #927, as it is easy to miss. Beyond that, all I can do is attempt to push effort in the direction of fixing the issue upstream. |
I have a freshly created project with
ob init
.I changed the
frontend
variable infrontend/src/Frontend.hs
to the following.No I run
ob run
and go to http://localhost:8000. When I click into the theinputElement
my firefox runs wild with repeating requests like this:I would expect nothing to happen. Any insights into what is going on here would be highly appreciated.
The text was updated successfully, but these errors were encountered: