diff --git a/select2.js b/select2.js index 27e69442..67f6b85e 100644 --- a/select2.js +++ b/select2.js @@ -1208,7 +1208,7 @@ the specific language governing permissions and limitations under the Apache Lic } if (!enoughRoomOnRight) { - dropLeft -= (dropLeft + dropWidth) - viewPortRight; + dropLeft = offset.left + this.container.outerWidth(false) - dropWidth; } css = {