Reproduction repo for Electron #38322.

  • Clone the repo.
  • Run electron .
  • Move the window fairly close (not too close) to the top left of the screen.
  • Open any menu in the app.
  • With the menu still open, click the title bar.

Note that this is likely Windows-specific.