I use Electron 10 and I noticed a different behavior of events between Windows and macOS. In my example I register a variety of focus and drag/drop
focus
drag/drop