MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

[Bug] Clicking around a bottom area of a Menu could click on one of its child MenuItems at random

Open
#1,194 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug up-for-grabs
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Description

I realized Menu is a bit buggy.

If you click and hold on like 1~2px away from the very bottom, the menu will disappear as soon as you stop holding. This may be minor, but if you press and release very fast, it randomly clicks on one of the menu items when menu is being animated to drop down.

The demo could be a very good way to see what I mean: https://i.imgur.com/cBilajC.png

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 by reproducing the behavior in the Menu demo shown in the linked image, focusing on the 1–2px area near the bottom and the child MenuItems during dismissal. Trace the Menu interaction and animation entry points; done means clicking near the bottom does not dismiss unexpectedly or trigger a random child MenuItem.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.