@descope/web-components-ui 3.16.1 → 3.16.2

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/index.esm.js CHANGED
@@ -20509,7 +20509,6 @@ const comboBox = {
20509
20509
  [vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
20510
20510
 
20511
20511
  // Overlay direct theme:
20512
- [vars$16.overlay.minHeight]: '400px',
20513
20512
  [vars$16.overlay.margin]: '0',
20514
20513
 
20515
20514
  [vars$16.overlay.contentHeight]: '100%',
@@ -29374,9 +29373,14 @@ class RawMonthDayFieldClass extends BaseInputClass$1 {
29374
29373
  const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
29375
29374
  if (!popover || !this.picker) return;
29376
29375
 
29377
- // Reset any previous transform so getBoundingClientRect measures the natural position.
29376
+ // Reset any previous offset so getBoundingClientRect measures the natural position.
29377
+ // NOTE: we offset with margin, not `transform`. A `transform` on this element
29378
+ // makes it the containing block for `position: fixed` descendants, which traps
29379
+ // the nested combo-box dropdowns inside the popover box (they then can't size
29380
+ // to the viewport and get clipped). `margin` shifts it identically without
29381
+ // creating a containing block, so the combo overlays stay viewport-positioned.
29378
29382
  this.#popoverPosStylesheet?.replaceSync(
29379
- `vaadin-popover-overlay::part(overlay) { transform: none; }`,
29383
+ `vaadin-popover-overlay::part(overlay) { margin-left: 0; }`,
29380
29384
  );
29381
29385
 
29382
29386
  const windowRect = document.body.getBoundingClientRect();
@@ -29397,7 +29401,7 @@ class RawMonthDayFieldClass extends BaseInputClass$1 {
29397
29401
 
29398
29402
  const css = `
29399
29403
  vaadin-popover-overlay::part(overlay) {
29400
- transform: translateX(${newOffset}px);
29404
+ margin-left: ${newOffset}px;
29401
29405
  }
29402
29406
  `;
29403
29407