@descope/web-components-ui 1.0.351 → 1.0.353

Sign up to get free protection for your applications and to get access to all the features.
@@ -9984,6 +9984,14 @@ const GridMixin = (superclass) =>
9984
9984
  // disable the grid sort
9985
9985
  this.baseElement._mapSorters = () => {};
9986
9986
 
9987
+ // there is an issue in vaadin that on some cases when trying to render the details panel, the row is null and this fn throwing
9988
+ // so we override it to prevent the error
9989
+ const origUpdateDetailsCellHeight = this.baseElement._updateDetailsCellHeight;
9990
+ this.baseElement._updateDetailsCellHeight = (row) => {
9991
+ if (!row) return;
9992
+ origUpdateDetailsCellHeight.call(this.baseElement, row);
9993
+ };
9994
+
9987
9995
  this.baseElement.rowDetailsRenderer = this.#rowDetailsRenderer.bind(this);
9988
9996
  }
9989
9997