Open nikoudel opened 5 years ago
Hi there. Do you have JSON Viewer Chrome extension installed? In my case that's what causes the issue. Disabled it and everything works just fine.
You are right! Disabling that extension helped. Didn't notice I had that extension installed on my main PC but not on the other.
I don't know though should I close this ticket or not... it would be kinda lame to tell app users to disable their extensions so they could use my site...
I suppose you are using Elm Reactor to generate that code, as suggested in the docs. You should then generate production code with Elm Make and minify it. I guess production-ready code should not be affected by the kind of issue you opened. Give it a try!
Nope, that didn't work. I used uglifyjs as described here and updated the html file to load the minified version but enabling the JSON Viewer extension still breaks it.
edit: I'm not using Elm Reactor btw.
This issue is most likely caused by this bug in JSON Viewer.
A workaround is avoiding raw text without enclosing html elements, i.e. using span [] [ text "The current URL is: " ]
instead of text "The current URL is: "
.
Leaving for others to decide whether the Uncaught TypeError and the infinite loop thing can/should be still prevented in Elm.
Apparently Grammarly does that on Chrome as well
Dark Reader too. There goes a few hours of work...
Hi! I'm having an issue which might belong here.
First, the app fails to render correctly - it's supposed to be like this:
Second, the app goes into an infinite loop when I click any of the links (the console errors).
This happens with a fresh Elm 0.19 install and the code from the example app on this guide page.
elm.json looks like this:
Note: the problem only appears in a certain Google Chrome instance (but not in IE or Firfox). Also the app works correctly when I run it in incognito mode in the same Chrome instance. And also it runs fine in another computer with the same Google Chrome version (70.0.3538.110) and the same addons. Disabling the addons doesn't help. Any ideas?