mirror of
https://github.com/penpot/penpot.git
synced 2026-11-25 20:30:35 +00:00
Switching pages swaps the workspace content for a loader until the new page is ready, so the whole left sidebar mounts again. The pages list started at the top and the selected page scrolled into view at the bottom of the panel, even when it was already visible. The sidebar scroll store now lives in workspace-inner*, which stays mounted across page switches. The pages panel saves its scroll there and restores it before the selected page scrolls into view. The layers, assets and tokens panels keep their positions across page switches too. Closes #13002 AI-assisted-by: claude-opus-5-5