@jsenv/navi 0.30.32 → 0.30.33

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.
@@ -13832,7 +13832,9 @@ const isRenderingPageChange = () => renderingPageChange;
13832
13832
  * outside its own nodes (a slot in a bar, the document a list scrolls) steps
13833
13833
  * out rather than showing with, or moving, the page arriving. Every box of it
13834
13834
  * measures 0×0 by then. Set after the render keeping the page, so that render
13835
- * and what it builds can only ask `hasLeft()`.
13835
+ * and what it builds can only ask `hasLeft()`. Cleared by the render showing
13836
+ * the page again, before anything below it renders: what mounts then never
13837
+ * reads its page as leaving.
13836
13838
  */
13837
13839
  const RoutePageContext = createContext(null);
13838
13840
 
@@ -37287,8 +37289,16 @@ const RouteRowPane = ({
37287
37289
  value: page
37288
37290
  }, branch.node));
37289
37291
  }
37292
+ // Back on screen before what it holds renders: built here, or mounted again under
37293
+ // it, that content runs its layout effects before this component's, and would
37294
+ // otherwise read its page as leaving.
37295
+ if (shown) {
37296
+ page.ownLeavingSignal.value = false;
37297
+ }
37290
37298
  useLayoutEffect(() => {
37291
- page.ownLeavingSignal.value = !shown;
37299
+ if (!shown) {
37300
+ page.ownLeavingSignal.value = true;
37301
+ }
37292
37302
  }, [shown]);
37293
37303
  return jsx("div", {
37294
37304
  "data-route-row-pane": "",