Skip to content

Fix stale mouse tracker state#88

Closed
KoalaHao wants to merge 1 commit into
Norbert515:mainfrom
marsup-space:fix/mouse-event-state
Closed

Fix stale mouse tracker state#88
KoalaHao wants to merge 1 commit into
Norbert515:mainfrom
marsup-space:fix/mouse-event-state

Conversation

@KoalaHao

Copy link
Copy Markdown
Contributor

Summary

  • keep pressed mouse button state current for motion-marked press/release events
  • drop invalid mouse annotations before and after dispatch so detached regions are not retained
  • add regressions for motion-marked release and annotations invalidated during hover dispatch

Tests

  • dart test test/input/mouse_button_state_test.dart test/input/mouse_tracker_test.dart test/input/mouse_region_test.dart test/input/gesture_detector_test.dart
  • dart test test/input/click_bug_reproduction_test.dart

@KoalaHao KoalaHao closed this Jun 19, 2026
@KoalaHao KoalaHao deleted the fix/mouse-event-state branch June 19, 2026 15:47
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.

1 participant