Electron Releases - v21.1.1

npm install electron@v21.1.1
yarn add electron@v21.1.1

Release Notes

Fixes

  • Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. #35977 (Also in 20, 22)
  • Fixed a potential memory leak. #35965 (Also in 22)
  • Fixed an issue where some options were incorrectly ignored when using webContents.printToPDF(). #35992 (Also in 22)
  • Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. #35982 (Also in 20, 22)
  • You can now import the built-in electron module via ESModule loaders, i.e. import('electron') and import 'electron' now work natively. #35958 (Also in 20, 22)

Other Changes

  • Modified the Windows 11 WCO to match the native look more closely. #35970 (Also in 20)
  • Updated Chromium to 106.0.5249.103. #35933