AlohaKit.Controls icon indicating copy to clipboard operation
AlohaKit.Controls copied to clipboard

Slider Issues

Open BinaryAssault opened this issue 1 year ago • 0 comments

I was working with the slider and ran into a few issues.

This is using vs 2022 preview 17.6 preview 1/A10

  1. Slider min/max are not honored. A max of X can result in values over X. Same with the minimum values
  2. Minimum cannot be negative. A negative minimum value breaks the slider from being usable
  3. Value reported is not accurate (may be related to #1). With a max of 1, sliding to 1 in my control sometimes is 1.(something) then the next time its 2.(something)

Simple xaml:

 xmlns:ak="clr-namespace:AlohaKit.Controls;assembly=AlohaKit"

 <ak:Slider
                    Grid.Column="0"
                    Grid.ColumnSpan="3"
                    Maximum="2" 
                    Minimum="0"
                    Value="{Binding Balance, Mode=TwoWay}" />

BinaryAssault avatar Mar 08 '23 01:03 BinaryAssault