mui / mui/material-ui

[joy-ui][Select] On Safari, you have to click twice to reopen the listbox after selecting an option

Open
#39,152 4 comments 0 reactions 1 assignee View on GitHub

@siriwatknp is already working on this.

Since Sep 25, 2023.

on hold package: joy-ui scope: select waiting for 👍
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Duplicates
  • I have searched the existing issues
Latest version
  • I have tested the latest version
Steps to reproduce 🕹

Link to live example:

Steps:

  1. Open the Joy UI Select docs
  2. Click on the Select button
  3. Select an option from the listbox
  4. Click on the Select button again
  5. !!! Notice that the listbox doesn't appear
  6. Click a second time on the Select button
  7. The listbox appears

You can see me reproduce here (macOS Safari Version 16.6):

https://github.com/mui/material-ui/assets/442307/77c5e441-3412-4db8-bf1d-bebad5d254c1

Current behavior 😯

After having made a selection from the listbox, it requires two clicks to re-open the listbox.

Expected behavior 🤔

After having made a selection from the listbox, it should only require one click to re-open the listbox.

Context 🔦

I'm generally just looking to use Select as a component in my app.

Your environment 🌎
npx @mui/envinfo
npx @mui/envinfo
npx: installed 2 in 3.281s

  System:
    OS: macOS 13.5.2
  Binaries:
    Node: 14.19.1 - ~/.nvm/versions/node/v14.19.1/bin/node
    Yarn: 3.4.1 - /opt/homebrew/bin/yarn
    npm: 6.14.16 - ~/.nvm/versions/node/v14.19.1/bin/npm
  Browsers:
    Chrome: 116.0.5845.187
    Edge: Not Found
    Safari: 16.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.