Elm-ui clip in Firefox

Using the elm-ui clip attribute in Firefox (and Firefox derivatives) clips (removes) the entire element!

Others must have noticed this but has anyone investigated why, plus workarounds?

No need for a minimum working example — just clip something and watch it disappear in Firefox :grinning_face:

I’m currently investigating replacing width fill, clip with width (fill |> maximum (visualViewportWidth - x)), where x is some arbitrary value. It seems to work but it’s hardly ideal… :face_with_diagonal_mouth:

https://ellie-app.com/yn8n4ygrGRda1

(tested on Firef

Oh. :man_facepalming: Thank you, Simon (@lydell).

Anywhere I stick clip in my code, I lose the entire element.

So it’s due to a combination of attributes…

This’ll be a fun one to track down :slightly_frowning_face: So tempted to stay with my fudge fix…