On Tuesday, March 28, 2017 at 2:04:22 PM UTC+1, Charles-Edouard Cady wrote:
>
> I tried your application on Iceweasel. The checkboxes never get checked,
> but opening the Javascript console I can see the messages are getting
> through:
>
> "Main: SelectChanged (Dict.fromList [("1","one"),("2","two")])"
> wood.js:907:2
> "_itemsChanged : newValue = 1,one,2,two,3,three, oldValue =
> 1,one,2,two,3,three"
>
> It looks like Mdl messages are not coming through. The checkboxes are
> rendered correctly (mdl-style), just not checked.
>
It needs the shadow DOM, which is what this config is for:
<script>
window.Polymer = {
dom: 'shadow',
lazyRegister: true
};
</script>
Perhaps it falls back to shady DOM on iceweasel? I just tried it on Firefox
45.3 on Linux, and it also did not work. Works ok on Chrome.
Here is the doc page where I read about these settings:
https://www.polymer-project.org/1.0/docs/devguide/settings
Yes, you will have to be very careful with what browsers you need to
support and will likely have many headaches to solve in that regard.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.