Closed
Description
- Electron version: 1.4.6
- Operating system: Windows 10
Expected behavior
After minimizing the window it should restore to the same size.
Actual behavior
After minimizing the window it is restored to a larger width.
How to reproduce
The issue started with Electron 1.4.5 and will only appear when you use minWidth
property in browser window config. As an example:
const windowConfig = {
title: "Test app",
width: 800,
height: 600,
minWidth: 800
};
const mainWindow = new BrowserWindow(windowConfig);