)]}'
{
  "commit": "c664bddfd1064f4a6b2c4eecbf7415de338cdc64",
  "tree": "643b8e1b80c4949da1cceac2b5b52075383369ad",
  "parents": [
    "d811479cd0ed83ed59fc94bbb25811b0ff669d22"
  ],
  "author": {
    "name": "Kishan Rathore",
    "email": "34465683+rkishan516@users.noreply.github.com",
    "time": "Tue Nov 03 04:54:11 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 03 04:54:11 2026 +0000"
  },
  "message": "fix: prefer pointer events over semantics tap for mouse clicks on web (#191529)\n\nThis PR fixes `Tap*Details` reporting the center of the semantics node\nand `PointerDeviceKind.unknown` for mouse clicks on web when semantics\nis enabled.\n\nWhen semantics is enabled, `ClickDebouncer` withholds the pointer events\nthat lead up to a DOM \"click\" on a tappable semantics node and forwards\nthe click as a `SemanticsAction.tap` instead. That action carries\nneither a position nor a device kind, so the framework synthesizes the\ntap at the center of the semantics node with\n`PointerDeviceKind.unknown`. For a merged semantics node that also means\nthe tap is attributed to the merged node rather than to whatever was\nactually under the cursor.\n\nThe debouncer exists for assistive technologies, which drive taps either\nthrough clicks that come with no pointer events at all, or through\ntouch. Neither of those paths is affected by this change: when the\nwithheld pointer events came from a mouse, they are now flushed to the\nframework and the click is dropped, so mouse gestures are recognized\nexactly like they are when semantics is off.\n\nFixes: https://github.com/flutter/flutter/issues/188859\nFixes: https://github.com/flutter/flutter/issues/146063\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md\n\n---------\n\nCo-authored-by: zhongliugo \u003czhongliu88889@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2428b7a386e75027ed24b97f55d591534206633e",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/web_ui/lib/src/engine/pointer_binding.dart",
      "new_id": "4ee639372151dd46f169a2a78b472f2ccfac9136",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/web_ui/lib/src/engine/pointer_binding.dart"
    },
    {
      "type": "modify",
      "old_id": "43f649f165e994fba1f472b3f01da39cdeb6ca82",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/web_ui/test/engine/pointer_binding_test.dart",
      "new_id": "a7c6b066cc61730cb41a18fb50291929ae68294d",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/web_ui/test/engine/pointer_binding_test.dart"
    }
  ]
}
