Hector Guillermo Parra Alvarez

Ask me anything   Contact / Contacto   

My art: photography, prose, poetry, commentary. Visit HectorParra.com for other dimensions.

twitter.com/hgparra:

    Chrome onmousemove bug

    allenluo:

    Problem with the onmousemove event keeps firing even when mouse is stationary in Chrome.

    “Event continues firing

    Sometimes the mousemove event continues firing even if the mouse does not move. This is not a browser bug, but an OS or maybe even hardware bug. Some optical mice keep on sending mousemove interrupts, even though they aren’t moved.

    In general this bug is easy to work around: just check the mouse position before doing anything (and you want to check the mouse position in just about any mousemove script, anyway.)”

    -http://www.quirksmode.org/dom/events/mousemove.html

    — 2 years ago with 6 notes

    1. hectorparra reblogged this from allenluo
    2. allenluo posted this