debois / elm-mdl

Elm-port of the Material Design Lite CSS/JS library
Apache License 2.0
965 stars 133 forks source link

Hovering over Mdl elements sometimes fires subscriptions. #340

Open skinnyjames opened 7 years ago

skinnyjames commented 7 years ago

gist here: https://gist.github.com/skinnyjames/c8fcebded81a70e2a3eded701d68a622

I notice that sometimes when I load the page, hovering over buttons and toggles will trigger my program's subscriptions, even though I did not include any Material subscriptions in the program. There are no changes in the model.

From what I understand, it should only fire on UrlChange, which is monitored by elm-lang/navigation. Sometimes, the subscriptions will only fire when I click a toggle, sometimes they will fire if I hover over elements.