Keep the workspace layout stable while navigating a long layer list

User intention

Search for a layer in the design file.

The intention is included in the agent’s input prompt alongside environment details and task instructions.

What breaks, and what should happen

Play Both
BeforeThe defect at the parent commit
0:00.00 / 0:00.00Frame 0 · Review the first layer-search match

Watch the layer-search panel when navigation reaches the last match. The workspace shifts upward, leaving a large unused band beneath the layers and canvas.

AfterThe same script once the merged fix is applied
0:00.00 / 0:00.00Frame 0 · Review the first layer-search match

Navigating to the last search match leaves the workspace panels in place, with the canvas and layers extending to the bottom.

How is it judged?

01 · Given
Restore the data and starting state.
The file contains more Waypoint layers than fit in the visible Layers panel. Layer-name search is open at the first matching result.

02 · When
Perform the interaction.
The user clicks Previous once.

03 · Judge
Rationale: Layers represent the objects in a design file. When the list is too long to browse easily, search helps a designer locate an object to work on. Navigating to a result should scroll the layer list without displacing the canvas or hiding the editing controls.
Require
Navigating to the last search result brings the target layer into view while keeping the workspace header and toolbar visible and the canvas filling the available workspace area.
Allowed
  • The Layers list may scroll and the canvas may pan or animate to reveal the target.
  • Panel dimensions, spacing, and styling may vary while preserving access to the workspace controls.

Who repaired it

More from Penpot

Design and prototyping canvas for product teams