ten1seven / what-input

A global utility for tracking the current input method (mouse/pointer, keyboard or touch).
https://ten1seven.github.io/what-input
MIT License
1.35k stars 89 forks source link

Keyboard becomes mouse when there is long links #32

Closed stevenbriscoeca closed 8 years ago

stevenbriscoeca commented 8 years ago

what-input

http://codepen.io/stephendesjardins/pen/MyqQLd

The bug is when I tab into a button with a long link, Chrome renders the long link after a few seconds and causes data-what-input to become a mouse. I tried disconnecting my mouse and the data still changes to mouse.

Windows Chrome 50.0.2657.0 (64-bit)

ten1seven commented 8 years ago

That is indeed curious. However since it's specific to Chrome on Windows (doesn't happen in Chrome OS X) and is triggered by their browser chrome I'm of the opinion that it's a Chrome bug and not something I can address in What Input. I submitted a bug report to Chrome using this CodePen that isolates the events to show that it's not specific to What Input.

Thanks for bringing it up!