Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

The close method is slow when AutoHideMenuBar property set to true and open the new browserwindow and close it.

Open Hyung-Kim opened this issue 4 years ago • 0 comments

  • Version: VS 2022
  • Target:

.NET6 Node.js : 16.13.0 blazor server side

Steps to Reproduce:

  1. 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);
  1. 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>

  1. Run main app and click the link, and then close the opened link window.

Hyung-Kim avatar Dec 01 '21 02:12 Hyung-Kim