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

Multiple NumericUpDown controls not displaying correctly #3617

Closed corvinsz closed 3 days ago

corvinsz commented 4 days ago

Bug explanation

When having multiple NumericUpDown controls on a page only the last control actually displays the content of the increase and decrease button correctly.

I uploaded a project showcasing the bug: https://github.com/corvinsz/MDIXNumericUpDownBug

Here is my code:

<Grid>
    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
        <materialDesign:NumericUpDown />
        <materialDesign:NumericUpDown />
        <materialDesign:NumericUpDown />
    </StackPanel>
</Grid>

Result: image

Am I perhaps doing something wrong?

Version

5.1

nicolaihenriksen commented 3 days ago

This was fixed with this recent PR #3615