Hello,
I'm using Web Report Designer HTML 5 version 14.1.20.618 and when clicking any option that has to show up a modal (like edit Bindings), it shows the following error in Console:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect')
at get popUpDefaultPosition [as popUpDefaultPosition] (webReportDesigner:formatted:6890:74)
at o.openPopUp (webReportDesigner:formatted:6975:28)
at o.<anonymous> (webReportDesigner:formatted:7103:22)
at Generator.next (<anonymous>)
at a (webReportDesigner:formatted:6808:25)
I followed the setup tutorial and everithing is working fine but this feature.
The line that's causing the error is the first line of the function popUpDefaultPosition() in webReportDesigner.js
get popUpDefaultPosition() {
const e = this.kendoList.wrapper.find(".k-state-selected")[0].getBoundingClientRect();
let t = this.popUpDefaultSize.width
, i = this.popUpDefaultSize.height;
const n = this.provider.GetService(s.a.WebDesignerEventsElement)
, a = $(n).find("." + r.a.WebDesignerCanvasClassName).height();
this.popUp && (t = this.popUp.wrapper.width(),
i = this.popUp.wrapper.height());
const o = {
top: e.top - i / 2,
left: e.left - t
};
if (o.top + i > a) {
const e = a - (o.top + i);
o.top = o.top + e
}
return o.top < 0 && (o.top = 0),
o
}
Any help will be appreciated