即使鼠标不移动,Chrome也会触发鼠标移动?

时间:2015-11-03 18:44:00

标签: javascript google-chrome

https://jsfiddle.net/uxhazvyb/

<!doctype html>
<p id="hello">Hello</p>
<script>
    document.getElementById('hello').addEventListener('mousemove', function (e) {
        console.log('mousemove');
    }, false);
</script>

打开控制台,将鼠标悬停在“hello”上,然后让鼠标坐下。即使鼠标不移动,mousemove事件也会保持触发。这是一个新的错误吗?

编辑:我在最新的Windows稳定版上观察到这个问题,46.0.2490.80米,但我没有在最新的Ubuntu稳定版46.0.2490.80上看到它。

0 个答案:

没有答案