mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 19:41:12 +08:00
The click event only fires for elements that receive both a mousedown and a mouseup event. Since DataGrid elements in the Network panel get replaced every time a message is received on WebSockets, the click event doesn't get fired if you click before a message and release after the message. To fix this we'll listen for the mousedown event instead. This has the added benefit that the request panel becomes visible sooner, making it feel more responsive. Fixed: 1222382 Change-Id: Ia44c47a90b4822530081caf63aec682e9f32186c Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3293092 Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org>
Helpers README
// TODO