How does one disable animation in jquery-ui datepicker?

datepicker, jquery, jquery-ui

Solution

One way to achieve this (prior to jQuery UI 1.8) is to set the `duration` option to empty string.

$('.date').datepicker({
    duration: ''
});

UPDATE Dec 6, 2010:

In jQuery UI 1.8+, this is a documented feature of the `showAnim` option.

$('.date').datepicker({
    showAnim: ''
});

Problem

I'm generally averse to animation effects given the overheads of reflow on the client side browser. jquery-ui is an awesome widget. It has all the stuff I need. But is there a way to disable the animation -- in other words the widget just appears instead of sliding out or fading in?

Original source