Skip to content

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

Closed

Description

@KwongHauLim

版本: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"/>

Activity

  1. Yopler commented on Nov 18, 2021

    @Yopler

    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>
  2. KwongHauLim commented on Nov 19, 2021

    @KwongHauLim
    Author

    Thank you

  3. added a commit that references this issue on Mar 28, 2024
    24af666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址