CommunityToolkit/WindowsCommunityToolkit
Auf GitHub ansehenRangeSelector StepFrequency doesn't behave properly at larger values
Open
#3.476 geöffnet am 14. Sept. 2020
bug :bug:good first issue
Repository-Metriken
- Stars
- (5.708 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Describe the bug
In the sample app, with the example range between 0-100, values over 30 (40, 50) etc... don't act properly.
For instance, 30 snaps at 30 and 60 but not 90. 40 snaps at 40, but not 80 60 doesn't snap...
Steps to Reproduce
Steps to reproduce the behavior:
- Go to RangeSelector sample in sample app.
- Go to XAML tab
- Set StepFrequency to a custom value
- See behavior above
Expected behavior
30 should still snap at 30, 60, 90 40 should snap at 40 & 80 60 should snap at 60
Environment
Sample App
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (build number: )
Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Additional context
Found when investigating #3473, FYI @hansmbakker