I’m at a loss right now why I don’t seem to be seeing any onInput
events on an Elm app in Safari macOS. Firefox and Chrome seem to work just fine.
The relevant code defining the input is as follows.
[ Html.input
[ Html.Attributes.type_ "radio"
, Html.Attributes.name "puzzletype"
, Html.Attributes.checked (model.selection.puzzleType == type_)
, Html.Attributes.value t
, Html.Events.onInput (always <| SelectType type_)
]
[]
, Html.label [ Html.Attributes.for t ] [ Html.text t ]
]
Maybe it’s relevant that the control is within a <details><summary></summary></details>
block?
I’m at a bit of a loss right now, also because I can’t seem to figure out how to determine event handlers in Safari developer mode. Elm does handle some other events fine.
Has anyone run into something similar before?