Cannot scroll through layers · Issue #494 · wagoodman/dive (original) (raw)

What happened:

Trying to inspect image with more than 10 layers got me confused where are the other layers. Seems that the arrow down moves to next item, but it's not visible because it's out of the layers window which is 10 rows of height

What you expected to happen:

The layers window should scroll if selected item moves out of focus

How to reproduce it (as minimally and precisely as possible):

  1. Find a image with more than 10 layers
  2. Run dive on it, example: dive php:7.2-fpm
  3. Try to move to 11th layer by pressing down arrow

Example:

This can be avoided by using smaller font, i.e. larger display

Anything else we need to know?:

Environment: