@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.
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-grid/GridClass.js +8 -0
package/dist/index.esm.js
CHANGED
@@ -8776,6 +8776,14 @@ const GridMixin = (superclass) =>
|
|
8776
8776
|
// disable the grid sort
|
8777
8777
|
this.baseElement._mapSorters = () => {};
|
8778
8778
|
|
8779
|
+
// 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
|
8780
|
+
// so we override it to prevent the error
|
8781
|
+
const origUpdateDetailsCellHeight = this.baseElement._updateDetailsCellHeight;
|
8782
|
+
this.baseElement._updateDetailsCellHeight = (row) => {
|
8783
|
+
if (!row) return;
|
8784
|
+
origUpdateDetailsCellHeight.call(this.baseElement, row);
|
8785
|
+
};
|
8786
|
+
|
8779
8787
|
this.baseElement.rowDetailsRenderer = this.#rowDetailsRenderer.bind(this);
|
8780
8788
|
}
|
8781
8789
|
|