Allow ignoring the path / Just parsing query parameters
We're running an Elm app as an embedded element, so we don't actually control the url where the elm app runs. We are interested in variables stored in query parameters though, and as far as I know there's no way to construct a parser which allows us to just parse queries.
Our current workaround is to alter the Url object and always set path to "/", but this feels a bit hackish.
Redundant removal and reinsertion of node breaks focus on element
I have a table with a variable number of columns. The right-most column of the top row contains a button element which receives focus using an initial command when the app is first loaded. Immediately after, some data is loaded, causing one unrelated column (C) to be replaced by a few others.
The td nodes of the row are rendered using Html.Keyed.node from elm/html and only the key of column C changes.
The render flow doesn't remove just column C but also the one with the focused element. Even though the element is re-inserted it no longer has the focus that was intended.
Unless this is intended behavior I'll be happy to construct a minimal example project to demonstrate the behavior. If it is intended, I'll appreciate any ideas of a clean solution to my problem.