On Wednesday, October 5, 2016 at 4:42:04 PM UTC+1, Rupert Smith wrote: > > So I can get the select box to appear, but as soon as I click on it, it > vanishes. Is this where Html.Keyed helps me out somehow? I did try creating > the paper-listbox and paper-item nodes as keyed nodes, but it stills > dissapears.... >
So I extracted a minimal polymer listbox + elm example out of my style guide and put it here: https://github.com/rupertlssmith/polymer-elm-listbox The items dissappear when clicked. As far as I can tell from the listbox demo, they should get the style class "iron-selected" added to items when they are clicked. I don't really understand what Html.Keyed does, and whether it can help, as its documentation is pretty light on detail and explanation of its purpose. If anyone is able to take a look at this minimal and easy to run example, would be much appreciated. At this stage I am thinking it will be easier to just write my own listbox on top of elm-mdl - but the purpose of this thread is to explore whether we can integrate polymer and elm succesfully. -- 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.
