MudSelect: Fix menu toggled on non-primary mouse clicks #11002
MudSelect: Fix menu toggled on non-primary mouse clicks #11002henon merged 3 commits intoMudBlazor:devfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #11002 +/- ##
=======================================
Coverage 91.01% 91.01%
=======================================
Files 429 429
Lines 13943 13946 +3
Branches 2695 2696 +1
=======================================
+ Hits 12690 12693 +3
Misses 648 648
Partials 605 605 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
Update title |
|
I'm horribly at Titles and naming in general but this is the greatest Title I've come up with yet (until it's renamed properly) |
|
Was this tested on touch devices? |
No, didn't think about it. I will test it tonight. Good catch. |
Can confirm works on Android and IOS and according to the web onmousedown treats touch as left click. |
|
Thanks @versile2 |



Description
Separate mousedown event from ToggleMenu and wire it to only fire when left click is used.
Resolves #10984
How Has This Been Tested?
Visually and Added a unit test
Type of Changes
Checklist
dev).