ivaynberg/select2 — pull request #379 by brentburgoyne (2012-09-05 16:52:05+00:00)
Title: Fix for drop down positioning issue

When body has an offset and is not position static (i.e. when using the body tag for a centered fixed width layout) the alignment of the Select2 drop down is broken.

Example: http://jsfiddle.net/brentburgoyne/PDk9W/4/

My fix checks the css position property of the body element and if necessary subtracts the body offsets from the drop down positions.