Skip to content

ActionMenu overflow when there are too many ActionList items #3486

Closed
@lowply

Description

@lowply

Description

Summary

As shown in the following screen recording, ActionMenu overflows when there are too many ActionList items and blocks users from selecting items in the hidden part of the list.

Screen.Recording.2023-07-05.at.14.49.41.mov

In the regular HTML select element this doesn't happen because the menu renders over the browser window. ActionMenu is, OTOH, a React component which cannot be rendered over the browser window. To mitigate this issue, there should be a scroll bar on the right side of the list so users can view and select all items regardless of the number of the items in the list.

This was originally reported in https://github.com/github/helphub/issues/4215.

Steps to reproduce

See https://ghe.io/lowply/action-menu-example/blob/main/src/ActionMenuComponent.tsx

Version

v35.26.0

Browser

Safari

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions