mui / mui/material-ui

[SpeedDial] should interact better with clicks

Open
#29,603 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: speed dial type: new feature
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
Summary 💡

If you look at any of the speeddial demos, you can see that if you move your mouse over the button and click, the menu opens partially then closes. This is pretty unintuitive. Clearly anyone hovering over the icon and clicking immediately expects to open the speeddial on click, not cancel opening the speed dial. I recommend adding functionality that ignores clicks until the menu has completely opened.

Examples 🌈

No response

Motivation 🔦

When trying the component out for the first time, I tried to click on it, which immediately closed the menu. It seems there are edge cases that could be improved without any significant downside.

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.

Research direction

Start with the SpeedDial demos linked in the issue and reproduce the behavior by hovering, then clicking while the menu is opening. Trace the SpeedDial component's open and close interaction and its existing tests; done means an immediate click opens the menu instead of cancelling the opening, with existing behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.