(Edit: this has been fixed for legend, still an issue for updatemenus)
Look for example at the legend_scroll mock: there are 23 traces, and 13 are visible at a time in the legend. So the scroll handle should take up ~13/23 of the legend height. But it looks like it just has a fixed height of 20px (which might be reasonable as a minimum in case the legend is absurdly long relative to its viewport, unless the viewport itself is super small, then the minimum might drop to half its height?)

I think updatemenu scroll handles do the same thing but have not observed it.
(Edit: this has been fixed for legend, still an issue for updatemenus)

Look for example at the
legend_scrollmock: there are 23 traces, and 13 are visible at a time in the legend. So the scroll handle should take up ~13/23 of the legend height. But it looks like it just has a fixed height of 20px (which might be reasonable as a minimum in case the legend is absurdly long relative to its viewport, unless the viewport itself is super small, then the minimum might drop to half its height?)I think updatemenu scroll handles do the same thing but have not observed it.