Posted 1 March 2024, 3:14 am EST
Hello.
We’re getting the same error caught by Sentry. I believe it happens when user clicks on “Select All” checkbox under the column’s filter search input.
“wijmo”: “5.20221.857”
TypeError: Cannot read properties of null (reading ‘offsetHeight’)
handled: true
function: setTimeout**
Call stack
**Frame 1: **
…/node_modules/wijmo/wijmo.grid.filter.js in ValueFilterEditor.prototype._adjustWidths at line 1180:1
wijmo_1.setChecked(this._cbSelectAll, t && i ? null : t > 0);
this.canApply = t > 0;
};
ValueFilterEditor.prototype._adjustWidths = function () {
var e = this._lbValues.hostElement;
if (e.offsetHeight > 0) {
var t = 0,
i = e.querySelectorAll(".wj-listbox-item label");
if (i.length) {
for (var r = 0; r < i.length; r++) t = Math.max(t, i[r].scrollWidth);
if (t) {
Frame 2:
…/node_modules/wijmo/wijmo.grid.filter.js in apply at line 1167:1
ValueFilterEditor.prototype._cbSelectAllClicked = function () {
for (var e = this, t = this._cbSelectAll.checked, i = this._divValues.scrollTop, r = this._getItems(), n = 0; n < r.length; n++) r[n].show = t;
this._view.refresh();
this._divValues.scrollTop = i;
setTimeout(function () {
e._adjustWidths();
}, 0);
};
ValueFilterEditor.prototype._updateSelectAllCheck = function () {
for (var e = this._getItems(), t = 0, i = 0, r = 0; r < e.length; r++) {
e[r].show ? t++ : i++;