diff --git a/jquery-ui-scrollable.js b/jquery-ui-scrollable.js index 4338abd..08728ad 100644 --- a/jquery-ui-scrollable.js +++ b/jquery-ui-scrollable.js @@ -216,7 +216,7 @@ top: this.container.scrollTop(), left: this.container.scrollLeft() }, - elem = this.element.offset(), + elem = this.element.position(), ofs = $.extend({}, this.options.offset), width = this.container.width(), height = this.container.height(),