diff --git a/select2.js b/select2.js index e2306c96..62e3f0b1 100644 --- a/select2.js +++ b/select2.js @@ -976,7 +976,7 @@ the specific language governing permissions and limitations under the Apache Lic // abstract positionDropdown: function() { - var offset = { top: this.container[0].offsetTop, left: this.container[0].offsetLeft }, + var offset = this.container.offset(), height = this.container.outerHeight(false), width = this.container.outerWidth(false), dropHeight = this.dropdown.outerHeight(false),