Steven Yau
Steven Yau
``` document.body.onmouseout = console.log; ``` Yeah, let's not do that as the mouse DOM element can be any DOM element too on `attach`. Wait, is target element not used in...
Can we use it to know if we are 'mousing out' or 'in'?
> It should be possible, just that it would deviate from how e.g. the OrbitCamera script used to use it (if we speak about the same thing here). That's fine,...
@kungfooman Is this ready for a re-review?
If the window is not in focus, when the mouse enters, it fires both the ENTER and OUT events (see end of the video). Was this intended? https://user-images.githubusercontent.com/16639049/209349691-b30fcc81-4ae5-454e-b941-5a853dd48665.mp4
Definitely Chrome specific but it's difficult to ship this when it 'doesn't work' with the major browser user share 😅 Edit: Wondering if we should only fire the event if...
> But I don't see how that would work out nicely, as soon you click outside the tab you won't have any "entering" events anymore? There aren't any mousemove events...
Hmm, I get different behaviour on Chrome/Mac https://user-images.githubusercontent.com/16639049/210997265-996da4bb-c4b2-45cc-b4cd-302553a1b154.mp4
> Technically it imo makes more sense to not filter events too early, since once they are filtered, there is no way back. And for a dev it would be...
> So mousemove shall also be filtered now to make everything work like on a Chrome Mac? Ideally, it should be consistent otherwise we would end up with bug reports...