Computes the render plan for a windowed list.
Invariants (relied on by the Go-To dialog's accessibility contract):
totalCount
activeIndex
The window parameters
Spacer and option entries to render, in DOM order
Computes the render plan for a windowed list.
Invariants (relied on by the Go-To dialog's accessibility contract):
totalCount, so the scrollbar geometry matches a fully-rendered list.activeIndexis always present as an option row, wherever the window is — aria-activedescendant must reference a mounted element.