@descope/web-components-ui 1.0.351 → 1.0.352

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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