epiq 1.8.0 → 1.8.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/gui/main.js CHANGED
@@ -52585,7 +52585,7 @@ var User = ({
52585
52585
  );
52586
52586
 
52587
52587
  // source/version.ts
52588
- var EPIQ_VERSION = "1.8.0";
52588
+ var EPIQ_VERSION = "1.8.1";
52589
52589
 
52590
52590
  // source/gui/client/components/Header.tsx
52591
52591
  var import_jsx_runtime32 = __toESM(require_jsx_runtime(), 1);
@@ -72409,15 +72409,26 @@ var EventLogPanel = ({
72409
72409
  observer.observe(pane);
72410
72410
  return () => observer.disconnect();
72411
72411
  }, [bottomClearance]);
72412
+ const arrowRef = (0, import_react42.useRef)(null);
72413
+ const parkStrayArrow = () => {
72414
+ const arrow = arrowRef.current;
72415
+ const column = columnRef.current;
72416
+ if (!arrow || !column) return;
72417
+ if (arrow.offsetTop < column.offsetTop + column.offsetHeight) return;
72418
+ arrow.style.top = "0px";
72419
+ arrow.style.opacity = "0";
72420
+ };
72412
72421
  (0, import_react42.useLayoutEffect)(() => {
72413
72422
  const pane = scrollRef.current;
72414
72423
  if (!pane || !pinnedRef.current) return;
72424
+ parkStrayArrow();
72415
72425
  pane.scrollTop = pane.scrollHeight;
72416
72426
  }, [newestId, days.length, foldOverrides, openCount]);
72417
72427
  (0, import_react42.useLayoutEffect)(() => {
72418
72428
  const pane = scrollRef.current;
72419
72429
  if (!pane) return;
72420
72430
  pinnedRef.current = true;
72431
+ parkStrayArrow();
72421
72432
  pane.scrollTop = pane.scrollHeight;
72422
72433
  }, [moment]);
72423
72434
  const shownKeysRef = (0, import_react42.useRef)(/* @__PURE__ */ new Set());
@@ -72434,7 +72445,6 @@ var EventLogPanel = ({
72434
72445
  }
72435
72446
  column.animate(crawlShiftFrames(appended), CRAWL_TIMING);
72436
72447
  }, [newestId, animate]);
72437
- const arrowRef = (0, import_react42.useRef)(null);
72438
72448
  const markRow = (target) => {
72439
72449
  const arrow = arrowRef.current;
72440
72450
  if (!arrow) return;