@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.
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +18 -2
- 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/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-grid/GridClass.js +8 -0
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +10 -2
package/dist/cjs/index.cjs.js
CHANGED
@@ -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
|
|