mirror of
https://github.com/servo/servo.git
synced 2025-07-19 21:33:49 +01:00
[RootCause]:Tochdown executes normally, but touchup fails during hittest and does not send a touchup event to the script, causing the script to save an incorrect number of active_touch_points. The application receives an incorrect event.touches.length, causing a logic error and preventing the carousel from sliding. [Solution]: When hit test on compositor fails, we also need to send the EmbedderToConstellationMessage::ForwardInputEvent message to constellation. In the script's handle_touch_event, if it exits early, we also need to update active_touch_points. Testing: Fixes: #37763 --------- Signed-off-by: kongbai1996 <1782765876@qq.com> |
||
---|---|---|
.. | ||
Cargo.toml | ||
compositor.rs | ||
lib.rs | ||
refresh_driver.rs | ||
touch.rs | ||
tracing.rs | ||
webview_manager.rs | ||
webview_renderer.rs |