@homebound/beam 4.46.0 → 4.46.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.
package/dist/index.js CHANGED
@@ -33077,6 +33077,16 @@ function WorkflowPageLayout(props) {
33077
33077
  }
33078
33078
  };
33079
33079
  }, [showFooter]);
33080
+ const currentStep = stepperTabs?.currentStep;
33081
+ const prevStepRef = useRef83(currentStep);
33082
+ useLayoutEffect24(() => {
33083
+ if (prevStepRef.current === currentStep) return;
33084
+ prevStepRef.current = currentStep;
33085
+ window.scrollTo({
33086
+ top: 0,
33087
+ left: 0
33088
+ });
33089
+ }, [currentStep]);
33080
33090
  return /* @__PURE__ */ jsxs145(DocumentScrollLayoutProvider, { children: [
33081
33091
  /* @__PURE__ */ jsxs145("div", { ...mergeProps49(void 0, style, {
33082
33092
  display: "df",