The Wayback Machine - https://web.archive.org/web/20260210143316/https://github.com/wagoodman/dive/issues/540
Skip to content

Layers panel doesn't scroll when many layers exist #540

@ShayGus

Description

@ShayGus

What happened:
When many layers exist, the top panel shows only few(9 in my case)
when pressing down arrow, the Layers panel will mark the current layer until I reach the 9th, aftwer that the marker disappears and don't sow the currently marked command.
The layer details panel on the other hand, shows the correct layer.
So the layer is selected but not shown in the Layers panel, only in layers details panel.

What you expected to happen:
I would expect the top Layers panel to scroll and mark the selected layer

How to reproduce it (as minimally and precisely as possible):
Create a docker image with many layers (depends on screen, but I guess 15 -20)
inspect the image.
Try to select the last layer.

Anything else we need to know?:

Environment:

  • Ubuntu 22.04.4 (I'm using the docker installation docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive")
  • Docker version (if applicable): Docker version 27.0.3, build 7d4bcd8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguidealing with the TUI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions