Skip to content

Commit 5fdb883

Browse files
committed
ACP2E-4060: Date Attribute in custom Attribute Group Fails to Show Datepicker in Admin
1 parent 4364889 commit 5fdb883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/mage/calendar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ define([
104104

105105
_overwriteFindPos: function () {
106106
$.datepicker.constructor.prototype._findPos = function (obj) {
107-
let domPosition = obj.getBoundingClientRect();
107+
var position = $(obj).offset();
108108

109-
return [domPosition.left, domPosition.top];
109+
return [position.left, position.top];
110110
};
111111
},
112112

0 commit comments

Comments
 (0)