mui / mui/base-ui

[menu] Positioner is repositioned when navigating items

Open
#1,432 2 comments 0 reactions 0 assignees View on GitHub
component: menu has workaround
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

# Bug report

## Current behavior

When the Popup part of the Menu is partly outside the viewport, if you navigate the options via ⬆️ ⬇️ keys, the positioner is repositioned. See attached video.

https://github.com/user-attachments/assets/4e77acad-ca4c-4f20-bc96-dcfb66111e32

## Expected behavior

The Popup should stay in the same place.

## Reproducible example

https://codesandbox.io/p/sandbox/mns5dn?file=/src/App.tsx

## Base UI version

1.0.0-alpha.6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.