PowerShell/ConsoleGuiTools

No scroll bar when list is longer/wider than terminal is high/wide

tig opened this issue · 0 comments

tig commented

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Keyboard and mouse-wheel scrolling work fine, but because there's no ScrollBarView when the list of items exceeds the number of rows provided by the terminal height...

a) It's hard to know that there are more items
b) it's not possible to scroll with mousedrag

This applies to both # of items and when there are items that are too wide (current behavior is to clip).

Expected behavior

If the number of rows in items exceeds the number of rows provided by the terminal height, have a `ScrollBarView` visible.

Actual behavior

No vertical scroll bar is ever shown.

Error details

No response

Environment data

All platforms

Version

All

Visuals

No response