Skip to content

Should this work with elm-css? #23

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

Closed
nilskuhn opened this issue Jan 15, 2022 · 1 comment
Closed

Should this work with elm-css? #23

nilskuhn opened this issue Jan 15, 2022 · 1 comment

Comments

@nilskuhn
Copy link

I try to use this within a project using elm-css and elm-font-awesome-5.

"rtfeldman/elm-css": "17.0.1",
"frandibar/elm-font-awesome-5": "1.0.0"

Getting the following runtime error (endless loop):

elm.js:2842 Uncaught TypeError: Cannot set property className of #<SVGElement> which has only a getter
    at _VirtualDom_applyFacts (elm.js:2842)
    at _VirtualDom_applyPatch (elm.js:3719)
    at _VirtualDom_applyPatchesHelp (elm.js:3702)
    at _VirtualDom_applyPatches (elm.js:3693)
    at elm.js:4066
    at updateIfNeeded (elm.js:4600)

So it looks like somehow, I ran into this bug/problem. Before I try to find our for myself where this comes from:
Did anyone tested / used this library together with elm-css?

@nilskuhn
Copy link
Author

Sorry, had a wrong import (percentage from FontAwesome instead of Css) and that caused a runtime crash. Thaught it was related to integration of elm-html5-drag-drop. This is quite annoying :(.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant