only trigger onmousemove if the position has changed
@@ -242,6 +242,7 @@ impl InnerInputState {
{
// mousemove
+ if old_pos != Some(new_pos) {
let mut will_bubble = FxHashSet::default();
for node in dom.get_listening_sorted("mousemove") {
let node_layout = layout.layout(node.state.layout.node.unwrap()).unwrap();
@@ -262,6 +263,7 @@ impl InnerInputState {
}
}
}
+ }
{
// mouseenter
