@eagami/ui 5.30.0 → 5.30.1

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.
@@ -4767,6 +4767,12 @@ class PopoverComponent {
4767
4767
  this.latched = null;
4768
4768
  return;
4769
4769
  }
4770
+ // The closed state's `display: none` is still on the element: this
4771
+ // effect runs before the binding carrying `surfaceStyle()` reaches it.
4772
+ // `showPopover()` refuses an element with no layout box, and a refused
4773
+ // promotion leaves the surface portaled to `<body>`, outside the modal
4774
+ // and therefore inert, so it is cleared here rather than a frame later.
4775
+ surface.style.removeProperty('display');
4770
4776
  // Join the top layer before the first measurement below, so a popover
4771
4777
  // opened from inside a modal is not painted behind it. Promoting first
4772
4778
  // also gives the surface layout: a `popover` element is `display: none`