Animation to open / close element after a drag


#1

Hello guys !

I want a menubar to be draggable so it shows a div under it and open / close itself if the user dragged it enough.

So I managed to do that, it works, see the codepen : http://codepen.io/JerryBels/pen/MYJoMj

But… I find it not really smooth, and not really good looking. I’m also concerned about performances on older devices. So I would be very grateful if someone could give me another solution !

Thanks :smile:


#2

Bump ! Still need help guys !


#3

Last try for a bump, but I guess there is nothing better out of the box !


#4

thanks man, you save my life :slight_smile: