Skip to content

Cursor snaps back after holding middle button and dragging when middle-button is used by Button Mapping #1441

Closed

Description

@swalok47716

OS

macOS 15.7.9 (Build 24G830)

LinearMouse

v0.12.0

Describe the bug

When a button mapping is configured with the middle mouse button (e.g., Hold Middle, then Scroll Up), holding the middle button, dragging the cursor, and then releasing it causes the cursor to unexpectedly snap back to its original position.

Somehow I couldn't record this behavior on screen so I took a video on my phone.

IMG_8873.MOV

To reproduce

  1. Map Hold Middle Click + Scroll Up to Increase Volume
  2. Press middle-click, drag, and release.

Workaround

I found that adding mappings for the swipe gestures prevents this behavior:

  • Hold Middle click, then Swipe Up -> No action
  • Hold Middle click, then Swipe Down -> No action
  • Hold Middle click, then Swipe Left -> No action
  • Hold Middle click, then Swipe Right -> No action

Activity

  1. added
    bug
    on Oct 9, 2026
  2. added a commit that references this issue on Oct 19, 2026
    6f8d736
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions