mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-22 05:26:17 +00:00
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. |
||
|---|---|---|
| .. | ||
| agent-framework-python | ||
| ai-sdk | ||
| cartesia-sdk-python | ||
| docs-test | ||
| hooks | ||
| lib | ||
| memory-graph | ||
| openai-sdk-python | ||
| pipecat-sdk-python | ||
| tools | ||
| ui | ||
| validation | ||