@flamingo-stack/openframe-frontend-core 0.0.358 → 0.0.359

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.
@@ -54,7 +54,7 @@ import {
54
54
  useDocNavigation,
55
55
  useDocumentTree,
56
56
  useScrollSpy
57
- } from "../chunk-BJ6J6WLA.js";
57
+ } from "../chunk-J4SQTCSA.js";
58
58
  import {
59
59
  FileDownloadCard,
60
60
  GoogleSheetsViewer,
@@ -840,6 +840,7 @@ import {
840
840
  getEmbedProxyAuth,
841
841
  getPersistedProxyEmail,
842
842
  progressColorByVariant,
843
+ scrollElementIntoView,
843
844
  setEmbedProxyAuth,
844
845
  showCommandApprovalToast,
845
846
  showToast,
@@ -2364,10 +2365,7 @@ function useUnifiedFiltering(config) {
2364
2365
  router.push(newUrl, { scroll: false });
2365
2366
  if (preserveScroll) {
2366
2367
  setTimeout(() => {
2367
- window.scrollTo({
2368
- top: currentScrollY,
2369
- behavior: "smooth"
2370
- });
2368
+ scrollElementIntoView(document.body, { adjustTargetY: () => currentScrollY });
2371
2369
  }, 100);
2372
2370
  }
2373
2371
  });