MaterialDesignInXAML / MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.
http://materialdesigninxaml.net
MIT License
14.82k stars 3.4k forks source link

Context menus are blurry #3601

Closed EsaHeinonen closed 4 days ago

EsaHeinonen commented 2 weeks ago

Bug explanation

Context menus are rendered blurry. This becomes quite apparent when a ScaleTransform is applied to the context menu to enlarge the text:

image

Here's a repo to demonstrate the issue: https://github.com/EsaHeinonen/MDIXTest1

Version

5.0.1-ci662

MichelMichels commented 5 days ago

@EsaHeinonen PR #3616 also fixes this issue. For the time being, you can manually force this by setting following on your ContextMenu:

<ContextMenu materialDesign:ShadowAssist.CacheMode="{x:Null}" ... />