Crashing cars and improving hover detection

A mouse bug gets a video game fix — and commenters instantly start a fight

TLDR: The article says websites can stop missing fast mouse movements by borrowing a trick from video games that checks the full path, not just snapshots. Commenters were split between calling it clever and complaining the demo’s mobile version made scrolling worse, turning a neat fix into a mini usability fight.

A surprisingly relatable internet annoyance just got the full action-movie treatment: the reason your cursor sometimes skips buttons and boxes when you move too fast is basically the same reason a race car in a video game can blast straight through a wall. The article from Motion turns a tiny everyday glitch into a dramatic little reveal, arguing that websites should track the path of your mouse, not just the scattered points where the browser notices it. Translation for normal humans: if you swipe fast, sites can miss stuff you clearly crossed, and this fix makes hovering feel weirdly smooth and satisfying.

But of course, the real fireworks were in the reactions. One camp was instantly cynical, with BobbyTables2 dropping the icy drive-by: "Basically an advertisement". Ouch. That’s the classic comment-section mood killer — less “wow, cool fix,” more “nice marketing, buddy.” Then came the practical rebellion. jerezzprime pointed out that on mobile, the shiny “fixed” demo created a whole new annoyance: it traps scrolling. So yes, the boxes all light up beautifully, but now your page feels like it’s holding your thumb hostage. That turned the vibe from “neat trick” to “did we just solve one problem by creating another?”

And honestly, that’s why people were hooked: it’s not just about hover effects. It’s the eternal tech drama of slick vs usable, with one side admiring the magic and the other yelling, “Cool story, now let me scroll.”

Key Points

  • The article demonstrates that fast pointer movement can skip hoverable UI elements because hover detection is based on discrete samples rather than continuous motion.
  • It states that CSS `:hover`, Motion `onHoverStart`, and JavaScript `pointerenter` all exhibit this skipped-element problem.
  • The article compares skipped hover detection to tunnelling in video game collision detection, where fast-moving objects pass through thin barriers between frames.
  • In the physics example, a car can miss collision detection if it moves from one side of a wall to the other without overlapping it in any sampled frame.
  • The proposed fix is to evaluate the path the pointer traveled since the previous sample, treating it as a line crossing elements rather than checking only a single current point.

Hottest takes

"Basically an advertisement" — BobbyTables2
"traps my scroll" — jerezzprime
"All the things light up, but I can't scroll" — jerezzprime
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.