branchseer / DeskGap

A cross-platform desktop app framework based on Node.js and the system webview
https://deskgap.com/
MIT License
1.83k stars 73 forks source link

maxWidth and maxHeight makes window disappear #29

Open perifer opened 5 years ago

perifer commented 5 years ago

When setting maxWidth (or maxHeight), and starting to drag one of the edges to resize the window, it disappears. The app is still running but with no window.

On macOS and DeskGap 0.0.1.

app.once('ready', () => {
    const mainWindow = new BrowserWindow({width: 300, height: 800, maxWidth: 800});
    mainWindow.loadURL('http://example.com');
});