Files
super-auto-pets-board-game/web
Greyson Parrelli e542118175 Stop the hover magnifier sticking open after a drag.
`noMagnify` only suppressed rendering — each card went on tracking hover
underneath it. During a drag the cursor outruns the lifted card (its
transform lands a frame later), so the rows it passes take mouseenter,
and React re-inserts those rows as the list reorders, so the matching
mouseleave often never arrives. Every card left holding stale hover then
popped its preview the moment the drag state cleared, at stale
coordinates, and stayed there until that exact card was hovered and left
again.

noMagnify now means the magnifier is off, not hidden: the handlers come
off and any tracked hover is dropped. Nothing can be left half-armed
regardless of which boundary events the browser does or doesn't deliver.

The drag also cleared its state 180ms after release — its own glide — while
the neighbours it passed keep gliding for anim.ts's MOVE_MS of 240ms. A
row sliding out from under a stationary cursor in that 60ms tail could
re-arm the same stale hover, so the settle window now covers the whole
tray coming to rest.
2026-07-27 16:39:46 -04:00
..
2026-07-22 23:07:29 -04:00
2026-07-22 23:07:29 -04:00
2026-07-22 23:07:29 -04:00
2026-07-22 23:07:29 -04:00
2026-07-22 23:07:29 -04:00