Is there a way to make my toggle sidebar scroll smoothly using jQuery UI? Currently, it has a jerky behavior and I would like it to have a smoother left/right effect.
I want the outer shell to slide smoothly just like the inner container does, instead of snapping once the inner div finishes easing.
$(".snapper").click(function() {
$(".sidebar-wrapper").toggle("slide", { direction: "right" }, 1000);
$("#sidebar").css("width" , "auto");
});
Check out the online example here: