We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8457b61 commit 5fb6d26Copy full SHA for 5fb6d26
lib/web/mage/calendar.js
@@ -81,6 +81,7 @@ define([
81
);
82
this._initPicker(this.element);
83
this._overwriteGenerateHtml();
84
+ this._overwriteFindPos();
85
},
86
87
/**
@@ -101,6 +102,13 @@ define([
101
102
}
103
104
105
+ _overwriteFindPos: function () {
106
+ $.datepicker.constructor.prototype._findPos = function (obj) {
107
+ let domPosition = obj.getBoundingClientRect();
108
+ return [domPosition.left, domPosition.top];
109
+ }
110
+ },
111
+
112
113
* Wrapper for overwrite jQuery UI datepicker function.
114
*/
0 commit comments