Help and docs
Sign in

R61 feat: turn on mouse motion automatically when hover is used

Browse files
grindlemire 23d 23 files +153 ~56 -7
Landed bygrindlemireas ff853558 · with 7 other reviews See in history

Hover no longer needs WithMouseMotion. After the first render in which an
element has onMouseEnter, onMouseLeave, or a hover: class, the app turns on
motion reporting (terminal and Windows reader) and keeps it on. It respects
WithoutMouse and the inline mouse-off default, so inline hover still needs
WithMouse. WithMouseMotion remains for apps that want MouseMove events
without hover.