Electron.NET
Electron.NET copied to clipboard
The close method is slow when AutoHideMenuBar property set to true and open the new browserwindow and close it.
- Version: VS 2022
- Target:
.NET6 Node.js : 16.13.0 blazor server side
Steps to Reproduce:
- Wrtie bellow code at program.cs
var options = new BrowserWindowOptions
{
Width = 480,
Height = 670,
MinWidth = 400,
MinHeight = 670,
AutoHideMenuBar = true
};
var browserWindow = await Electron.WindowManager.CreateWindowAsync(options);
- Add the link code at index.html
<a target="_blank" class="font-weight-bold" href="https://go.microsoft.com/fwlink/?linkid=2112271">brief survey</a>
- Run main app and click the link, and then close the opened link window.