Skip to content

Send buttons from most recent pointerdown on mousewheel#2844

Merged
Shagen Ogandzhanian (Schahen) merged 3 commits into
jb-mainfrom
sh/CMP-9900-wheel-buttons
Mar 11, 2026
Merged

Send buttons from most recent pointerdown on mousewheel#2844
Shagen Ogandzhanian (Schahen) merged 3 commits into
jb-mainfrom
sh/CMP-9900-wheel-buttons

Conversation

@Schahen

@Schahen Shagen Ogandzhanian (Schahen) commented Mar 10, 2026

Copy link
Copy Markdown

Pointer event resolved from mousewheel event should resolve buttons not from the mousewheel event but rather from the most recent pointerdown

Fixes

Testing

gradlew testWeb (specifically, testWheelEventButtonsResolvedOnPointerDown and testPointerReleaseIsNotCorruptedByMouseWheel were added)

Release Notes

Fixes - Web

  • Fix incorrect mouse click detection
  • Fix an issue where wheel events reported incorrect mouse button state in Safari and Firefox

@eymar

Oleksandr Karpovich (eymar) commented Mar 10, 2026

Copy link
Copy Markdown
Member

Note: I added _(pre-release)_ label in the release notes and then removed the label. As we discussed the bug has been there before any recent changes.

@Schahen Shagen Ogandzhanian (Schahen) merged commit 74a19e6 into jb-main Mar 11, 2026
16 of 17 checks passed
@Schahen Shagen Ogandzhanian (Schahen) deleted the sh/CMP-9900-wheel-buttons branch March 11, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants