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 strange left thumb behavior #4345

Open
deadlez opened this issue Sep 10, 2022 · 0 comments
Open

RangeSlider strange left thumb behavior #4345

deadlez opened this issue Sep 10, 2022 · 0 comments
Labels

Comments

@deadlez
Copy link

deadlez commented Sep 10, 2022

Describe the bug

The left thumb does not move by the amount the mouse pointer moves.

Steps to reproduce

Set control properties:
Minimum="0"
Maximum="100"
IsSnapToTickEnabled="True"
TickFrequency="0.1"
MinRange="0.1"

Move the left thumb to the right thumb.
Release the left mouse button.
Hold left mouse button on left thumb.
Move the mouse pointer to the right thumb.
Slowly move the mouse pointer back to the left thumb.
The left thumb will begin to move to the left for a long distance (there is no such behavior with the right thumb)

Link to a repository with an example:
https://github.com/deadlez/RangeSlider

Expected behavior

The movement of the left thumb is proportional to the movement of the mouse pointer (same as the right thumb works)

Actual behavior

Movement of the left thumb is not proportional to the movement of the mouse pointer (too large)

Environment

MahApps.Metro version: v2.4.9
Windows build number: Win10 21Р2 [19044.1889]
Visual Studio: 2022 17.2.6
Target Framework: .NET Framework 4.6.1

Video

RangeSlider.mp4
@deadlez deadlez added the Bug label Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant