aurelia-solitaire icon indicating copy to clipboard operation
aurelia-solitaire copied to clipboard

aurelia-solitaire breaks after update to the aurelia beta release

Open loreofblasius opened this issue 10 years ago • 2 comments

After updating aurelia-solitaire to the beta release of aurelia, the drag-and drop operation doesn't work anymore. The failure happens in drag-and-drop.js, where the expression el.parentElement.card.card resolves to "undefined". Any work-around for this issue ?

loreofblasius avatar Jan 03 '16 16:01 loreofblasius

@loreofblasius - I'm in the same boat. I'm trying to see what would have changed in the template stuff.

I can't figure out how to get the view model that's associated with a given element. el.parentElement would be the element. I think if I could figure out how to get the view model associated with that it might help?

dankraus avatar Jan 29 '16 02:01 dankraus

I'll update to the latest aurelia bits next week- sorry for the delay

jdanyow avatar Jan 30 '16 02:01 jdanyow