I would love some insights from the people who have a better understanding of what might be happening here.
The custom elements interface looks amazing in theory. Custom elements also work decently when the custom element takes no children but if it does, it stops working. I tried it with paper-buttons-group and it is the same story: it shows up nicely but as soon as you try to interact with it, the children disappear. There is no error in the console. On Thu, Oct 6, 2016 at 12:12 PM, 'Rupert Smith' via Elm Discuss < [email protected]> wrote: > 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. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- 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.
