Open shidhincr opened 10 years ago
Yeah, this is something I'd like to do, but it's not totally clear how this should work. JS animations are probably the easiest (but least performant) way to do this, and would fit in nicely with ngAnimate.
Want to try implementing this @shidhincr?
Yeah .. I guess that would be a cool feature to be implemented. definitely I want to try this .. but need some time to play around with ngAnimate first.
Anyways thanks for the reply @caitp .. I'll try it and update you
@caitp , I started working on this.. But needs some starting points.
Do you think including the dependency to ngAnimate is good ? or should I start with CSS animations ?
Depending on ngAnimate is fine for 1.2.x+, so that's fine with me
@shidhincr hows it going, have you made any progress with this?
I can take over work on it if you don't think you can finish it
@caitp I didn't make much progress on it, as I am in a vacation and don't have access to my laptop.
Glad if you can take over.. I can join back once after my vacation
Are we ok with an angular 1.4 (new animation engine) solution to this?
Absolutely, although breaking changes creep into ngAnimate pretty often
possible (mostly) CSS solution:
transition: top .5s, left .5s
notes:
Can we've a feature that when a draggable element is dropped on an invalid drop zone, the element can move back to it's previous place ?
I'm not sure if this is already implemented.. If not consider this as a feature request.