Comparing version 8.7.1 to 8.7.2
{ | ||
"name": "ka-table", | ||
"version": "8.7.1", | ||
"version": "8.7.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table", |
@@ -63,4 +63,5 @@ "use strict"; | ||
var table = parent_1.closest('table'); | ||
var kaWrapper = parent_1.closest('.ka-table-wrapper'); | ||
var newPopupPosition = { | ||
x: element.offsetLeft + (parent_1 === null || parent_1 === void 0 ? void 0 : parent_1.offsetLeft), | ||
x: element.offsetLeft + (parent_1 === null || parent_1 === void 0 ? void 0 : parent_1.offsetLeft) - (kaWrapper === null || kaWrapper === void 0 ? void 0 : kaWrapper.scrollLeft), | ||
y: element.offsetTop + (table === null || table === void 0 ? void 0 : table.offsetTop) + element.offsetHeight | ||
@@ -67,0 +68,0 @@ }; |
391089
8023