@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/index.esm.js
CHANGED
@@ -4703,9 +4703,6 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4703
4703
|
this.baseElement.noCloseOnOutsideClick = true;
|
4704
4704
|
this.baseElement.renderer = this.#popoverRenderer.bind(this);
|
4705
4705
|
|
4706
|
-
// override vaadin's constructed stylesheet which hides the host element
|
4707
|
-
overrideConstructedStylesheet(this.baseElement);
|
4708
|
-
|
4709
4706
|
// block popover events from focusing/blurring the text-field
|
4710
4707
|
this.baseElement.addEventListener('click', (e) => {
|
4711
4708
|
e.preventDefault();
|
@@ -4717,6 +4714,8 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4717
4714
|
// popoverRenderer should run only once, when the popover is first rendering.
|
4718
4715
|
if (!root.firstChild) {
|
4719
4716
|
root.appendChild(this.#getPopoverContent());
|
4717
|
+
// override vaadin's constructed stylesheet which hides the host element
|
4718
|
+
overrideConstructedStylesheet(this.baseElement);
|
4720
4719
|
|
4721
4720
|
// To prevent position flickering of the dialog we set opacity to 0
|
4722
4721
|
root.style.setProperty('opacity', '0');
|