@descope/web-components-ui 1.0.380 → 1.0.381
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +2 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-date-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-date-field/DateFieldClass.js +2 -3
package/dist/cjs/index.cjs.js
CHANGED
@@ -14941,9 +14941,6 @@ class RawDateFieldClass extends BaseInputClass {
|
|
14941
14941
|
this.baseElement.noCloseOnOutsideClick = true;
|
14942
14942
|
this.baseElement.renderer = this.#popoverRenderer.bind(this);
|
14943
14943
|
|
14944
|
-
// override vaadin's constructed stylesheet which hides the host element
|
14945
|
-
overrideConstructedStylesheet(this.baseElement);
|
14946
|
-
|
14947
14944
|
// block popover events from focusing/blurring the text-field
|
14948
14945
|
this.baseElement.addEventListener('click', (e) => {
|
14949
14946
|
e.preventDefault();
|
@@ -14955,6 +14952,8 @@ class RawDateFieldClass extends BaseInputClass {
|
|
14955
14952
|
// popoverRenderer should run only once, when the popover is first rendering.
|
14956
14953
|
if (!root.firstChild) {
|
14957
14954
|
root.appendChild(this.#getPopoverContent());
|
14955
|
+
// override vaadin's constructed stylesheet which hides the host element
|
14956
|
+
overrideConstructedStylesheet(this.baseElement);
|
14958
14957
|
|
14959
14958
|
// To prevent position flickering of the dialog we set opacity to 0
|
14960
14959
|
root.style.setProperty('opacity', '0');
|