Bug Fixes
-
fix(useHover):
pointerType
is sometimes returned aspen
on Linux Chromium even while using a mouse, breakingmouseOnly: true
and also delays (which are always0
for non-mouse input). (#2016)There is also better fallback handling, whereby hover will forcefully work if
pointerType
can't reliably be determined by the browser. -
fix(useFocus):
pointerType
ref getting unset duringonPointerLeave
with touch emulation, preventingkeyboardOnly
prop from reliably working. (#2016)