Skip to content

Add scrollbar to the input prompt when it exceeds the available height #21423

@jacob314

Description

@jacob314

We should use ScrollableList to render the lines.

Edge cases to watch for:

  1. Make sure the scrollbar looks good with the background color of the parent box. half black chars if they show up indicate ink polish we need to make.
  2. Ensure the selected line always gets scrolled into view as needed... immediately vs a 1 frame gap (need to use useLayoutEffect).

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalityworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

No type
No fields configured for issues without a type.

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions