PowerShell / ConsoleGuiTools

Modules that mix PowerShell and GUIs/CUIs!
https://www.powershellgallery.com/packages/Microsoft.PowerShell.ConsoleGuiTools
MIT License
776 stars 59 forks source link

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

Open tig opened 2 years ago

tig commented 2 years ago

Prerequisites

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