Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeSlider, IsDirectionReversed="True" drag Bug? #1050

Closed
KwongHauLim opened this issue Nov 18, 2021 · 2 comments
Closed

RangeSlider, IsDirectionReversed="True" drag Bug? #1050

KwongHauLim opened this issue Nov 18, 2021 · 2 comments
Labels
🐛 bug Something isn't working

Comments

@KwongHauLim
Copy link

KwongHauLim commented Nov 18, 2021

版本:3.2.0
RangeSlider, IsDirectionReversed="True" 那个滑杆圆点对应错了?
(垂直) 数值最上面代表ValueStart, 最下面代表ValueEnd, 这个对, 符合期望
但是拉动上圆点, 移动的却是下圆点, 拉动下圆点动的是上圆点

Edit:
(write again in english, my english not well)
RangeSlider, IsDirectionReversed="True"
when Orientation="Vertical", drag upside thumb but the downside thumb move, opposite is same wrong

xaml like this

<hc:RangeSlider Name="uiSliderV" Grid.Row="1" Grid.Column="1" Orientation="Vertical" 
                Minimum="0" Maximum="1" SmallChange="0.001" ValueStart="0" ValueEnd="1" IsDirectionReversed="True"
                TickPlacement="BottomRight" TickFrequency="0.1"
                hc:TipElement.Visibility="Visible" hc:TipElement.Placement="Right" hc:TipElement.StringFormat="#0.000"/>
@Yopler
Copy link

Yopler commented Nov 18, 2021

Hi 🖐,

I don't read chinese so I translated it ! Actually that's a big issue.
As a alternative waiting for fix, you can try to rotate your range and change your tick placement. This suppose to have the same behavior as you want.
Here :

<hc:RangeSlider Name="uiSliderV"
                            Grid.Row="1"
                            Grid.Column="1"
                            Orientation="Vertical"
                            Minimum="0"
                            Maximum="1"
                            SmallChange="0.001"
                            ValueStart="0"
                            ValueEnd="1"
                            TickPlacement="TopLeft"
                            TickFrequency="0.1">
                <hc:RangeSlider.LayoutTransform>
                    <RotateTransform Angle="180" />
                </hc:RangeSlider.LayoutTransform>
            </hc:RangeSlider>

@KwongHauLim
Copy link
Author

Thank you

@NaBian NaBian added the 🐛 bug Something isn't working label Nov 22, 2021
@NaBian NaBian closed this as completed in 24af666 Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants