lepoco / lepoco/wpfui

[Bug] ToggleSwitch: When I hold down the mouse and pan to the left, the button will enter an unknown state

Open
#1,712 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Image
To Reproduce

When I hold down the mouse and pan to the left, the button will enter an unknown state

Expected behavior

The indicator-circle will be right instead of left.

Image
Screenshots

No response

OS version

w11

.NET version

net48

WPF-UI NuGet version

4.3.0

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ToggleSwitch drag behavior in the WPF UI project using Windows 11, .NET Framework 4.8, and WPF-UI 4.3.0. Investigate the ToggleSwitch control and verify that dragging left while holding the mouse leaves the indicator in a valid state, with the indicator-circle positioned on the right as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.