Skip to content
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

Fix issue on demo page with dark reader #21

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

mweiss
Copy link
Owner

@mweiss mweiss commented Apr 14, 2020

See #20 and https://discourse.elm-lang.org/t/runtime-errors-caused-by-chrome-extensions/4381?u=mweiss

The demo page uses font-awesome, which inserts a style element in the beginning of the body. However, dark reader, a chrome and firefox extension, will then insert its own style element after it for its own purposes and logic. This confuses Elm's virtual dom, which just crashes and doesn't recover. This is a workaround to wrap the styles in a div so even though its own of sync, because it never changes position in the app, it'll end up working.

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

Successfully merging this pull request may close these issues.

None yet

1 participant