dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.24k stars 1.76k forks source link

Slider is very broken, Value is a mess when setting Minimum #14472

Open MhAllan opened 1 year ago

MhAllan commented 1 year ago

Description

The Slider works well if you don't set the Minimum value, but it gets broken when setting it, and beside that I found that it's bindable properties are affected by the order of setting them which shouldn't happen.

If you set Value before Minimum:

<Slider Value="75" Minimum="50" Maximum="100" />

The slider show zero minimum and zero value.

image

If you set Value after Minimum:

<Slider Minimum="50" Maximum="100" Value="75" />

The slider will show the minimum not the value!

image

Steps to Reproduce

As described above

Link to public reproduction project repository

none

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

API 30

Did you find any workaround?

No response

Relevant log output

No response

ghost commented 1 year ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

XamlTest commented 1 year ago

Verified this on Visual Studio Enterprise 17.7.0 Preview 2.0. Repro on Windows 11, Android 13.0-API33 and iOS 16.4 with below Project: 14472.zip