mui / mui/base-ui

[menu] Does not open when clicking the trigger with Playwright Firefox

Open
#3,802 2 comments 0 reactions 0 assignees View on GitHub
browser: Firefox test
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

# Bug report

## Steps to reproduce

1. Create a project with a Menu
2. Install Playwright. Configure Playwright to use the Firefox browser
3. Create a test that opens the menu
4. Run the test

## Current behavior

The Firefox test is not able to open the menu. The other browser tests can open the menu

## Expected behavior

All browser tests will open the menu.

## Reproducible example

https://github.com/evaogbe/base-ui-menu-playwright-bug

## Base UI version

v1.1.0

## Which browser are you using?

```
"Desktop Firefox": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0.1) Gecko/20100101 Firefox/146.0.1",
"screen": {
"width": 1920,
"height": 1080
},
"viewport": {
"width": 1280,
"height": 720
},
"deviceScaleFactor": 1,
"isMobile": false,
"hasTouch": false,
"defaultBrowserType": "firefox"
}
```

## Which OS are you using?

Playwright on MacOS

## Which assistive tech are you using (if applicable)?

Playwright

## Additional context

It works when manually checking the Firefox browser, just not in the tests. React Aria works on all browsers, which makes me think this is a Base UI bug rather than a Playwright bug.

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.