supermemory/packages/memory-graph/src
abhay-codes07 3cf299d825
fix(memory-graph): center arrow-key navigation in the visible graph area
selectAndCenter passed the full containerSize.height to viewport.centerOn,
while every other navigation action (auto-fit, center, zoom) uses
graphFitHeight, which on compact viewports subtracts the space taken by the
bottom controls. centerOn places the target at height/2, so keyboard
navigation dropped the selected node at the midpoint of the whole container,
partly behind the bottom control bar on mobile, instead of the midpoint of the
visible graph area like the center button does. Use graphFitHeight so
arrow-key selection lands where the other centering paths already do.
2026-07-22 17:22:57 +05:30
..
__tests__ feat(memory-graph): configurable labels + popover z-index (#1201) 2026-07-10 19:15:17 -07:00
canvas fix memory render (#1087) 2026-06-14 23:45:53 +05:30
components fix(memory-graph): center arrow-key navigation in the visible graph area 2026-07-22 17:22:57 +05:30
hooks Improve memory graph (#973) 2026-06-05 15:48:41 -07:00
utils Improve memory graph (#973) 2026-06-05 15:48:41 -07:00
api-types.ts Rewrite @supermemory/memory-graph with perf optimizations + consolidate consumers (#809) 2026-03-28 19:06:27 -07:00
constants.ts feat(memory-graph): configurable labels + popover z-index (#1201) 2026-07-10 19:15:17 -07:00
index.tsx feat(memory-graph): configurable labels + popover z-index (#1201) 2026-07-10 19:15:17 -07:00
mock-data.ts Rewrite @supermemory/memory-graph with perf optimizations + consolidate consumers (#809) 2026-03-28 19:06:27 -07:00
types.ts feat(memory-graph): configurable labels + popover z-index (#1201) 2026-07-10 19:15:17 -07:00