You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Windows] Maui Stepper is not clamped to minimum or maximum internally #33274
Under Windows the Maui Stepper is not clamped to minimum or maximum. The value is clamped in the binding but the logic internally increments when clicking increment when already at max.
So when at maximum and clicking increment more 1 time, then clicking decrement does not seem to do anything till you have clicked decrement at least 1 more time. The stepper internally counted up to 11 while the Value remained at 10.
So I clicker happy user would be confused when hitting increment and decrement in this scenario.
I am preparing a PR to address this issue.
Steps to Reproduce
Add an Entry and bind to a property of type Double. Add a Stepper and bind to the double property. Set the Stepper Maximum to 10 and Minimum to 0. Run the project and click the stepper increment button till the Value is at Maximum. The Stepper increment button is visually in disabled state. Click once more on increment and then click decrement. After clicking the decrement button nothing happens. Only clicking once more on decrement lowers the value again.
Activity
MihuBot commentedon Dec 23, 2025
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
OomJan commentedon Dec 23, 2025
This is related to the exposed Value but not the internal value handled in the Windows implementation.
Test added for issue dotnet#33274.
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
HarishKumarSF4517 commentedon Dec 24, 2025
This issue has been validated in Visual Studio 18.1.1 with MAUI Version 10.0.20, 10.0.0 and 10.0.0-rc2. It can be reproduced on Windows platform.
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
[Windows] Maui Stepper: Clamp minimum and maximum value (#33275)
January 5th, Candidate (#33363)
[Windows] Maui Stepper: Clamp minimum and maximum value (dotnet#33275)