Stepper doesn't change increment value when being bound to a double in MVVM context (Windows) #24396
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Root cause
When the stepper value is updated dynamically, the current increment value isn't properly passed to the PlatformView, which is supposed to update through the IStepper.Interval property.
Description of Change
The interface Interval has been renamed to Increment and is now mapped to the mapIncrement method. All references to Interval have also been renamed to Increment.
API changes
Renamed IStepper.Interval to IStepper.Increment
Issues Fixed
Fixes #20706
Validated the behaviour in the following platforms
Output Screenshot
Before Changes
357055938-668993ec-532d-43b4-8b1a-47b98c8ec077.mp4
After Changes
357056346-be60183c-883c-4f72-a49c-06c9f3d6b489.mp4