Having the keyboard focus is necessary on macOS for the window to receive mouse movement events so the hover animation won’t work for windows with this flag set.
Thanks, I can confirm this behavior is now consistent with the rest of the OS: loss of focus → hover animation doesn’t happen as expected.
Both of these statements are a little wide of the mark. As I’m typing this I can trigger hover animations in a Finder window, so mouse events are expected to be received without having keyboard focus. This is also the same behaviour as on the other platforms we support.
Reverting the commits also addresses the regression mentioned in this thread: