@jsenv/navi 0.29.429 → 0.29.430

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.
@@ -30911,14 +30911,14 @@ import.meta.css = /* css */[`[data-scrollable] > .navi_loading_outline_wrapper,
30911
30911
  }
30912
30912
 
30913
30913
  [data-scrollable] {
30914
- overflow: var(--x-scrollable-overflow, auto);
30915
30914
  scroll-padding: var(--navi-scroll-padding, var(--navi-s));
30916
30915
  --box-header-z-index: var(--navi-z-index-sticky);
30917
30916
  --box-footer-z-index: var(--navi-z-index-sticky);
30918
30917
  isolation: isolate;
30918
+ overflow: auto;
30919
30919
 
30920
30920
  &[data-scrollable-overflow="scroll"] {
30921
- --x-scrollable-overflow: scroll;
30921
+ overflow: scroll;
30922
30922
  }
30923
30923
 
30924
30924
  & > [data-header] {
@@ -30940,9 +30940,9 @@ import.meta.css = /* css */[`[data-scrollable] > .navi_loading_outline_wrapper,
30940
30940
  }
30941
30941
 
30942
30942
  &:has( > [data-body]) {
30943
- --x-scrollable-overflow: hidden;
30944
30943
  flex-direction: column;
30945
30944
  display: flex;
30945
+ overflow: hidden;
30946
30946
 
30947
30947
  & > [data-header], & > [data-footer] {
30948
30948
  z-index: auto;
@@ -67047,7 +67047,11 @@ const useDialogProps = props => {
67047
67047
  }
67048
67048
  const anchorElement = resolveAnchorElement(event);
67049
67049
  if (!anchorElement) {
67050
- {
67050
+ // An opening by the caller's state (`open`, `signal`, `navState`) is
67051
+ // told nothing about its cause, and that cause may be the address —
67052
+ // a back to an entry where the dialog was open, nothing pressed — so
67053
+ // a missing anchor there is not something the app could have given.
67054
+ if (event.type !== "open_by_prop") {
67051
67055
  console.warn(`[navi] Dialog has animation="lifting" and no anchor to lift out of, so it simply appears. The anchor is whatever opened it — a <Button command="--navi-open">, the "source" given to triggerNaviCommand — or the "anchor" prop.`);
67052
67056
  }
67053
67057
  applyChange();