Get error when resizing window using ElectronNet with Blazor #1020

Closed
opened 2026-01-29 16:55:23 +00:00 by claunia · 5 comments
Owner

Originally created by @mafei1982 on GitHub (Nov 26, 2025).

  • Version:
  • Target:

Steps to Reproduce:

  1. Create a blazor server app along with ElectronNet
  2. Try to resize the app window multiple times
    Below error will show
Image T This error shows as the window.process is undefined (Set IsRunningBlazor=true) And its underlying error is: ResizeObserver loop completed with undelivered notifications.
Originally created by @mafei1982 on GitHub (Nov 26, 2025). <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Version**: <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> <!-- What target are you building for? --> * **Target**: <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> Steps to Reproduce: 1. Create a blazor server app along with ElectronNet 2. Try to resize the app window multiple times Below error will show <img width="860" height="65" alt="Image" src="https://github.com/user-attachments/assets/53d29d3b-27c5-4788-bede-c1d0d240d46e" /> T This error shows as the window.process is undefined (Set IsRunningBlazor=true) And its underlying error is: ResizeObserver loop completed with undelivered notifications.
claunia added the bug label 2026-01-29 16:55:23 +00:00
Author
Owner

@markatosi commented on GitHub (Nov 26, 2025):

I have a ResizeHandler that does not have the issue you describe and it works fine so I suspect you are doing something not quite right.

There may still be a bug of course but someone more knowledgeable about the inner workings of the new Electron.Net can address that.

My handler has a temporary work-around because of issue #944 so I don't want to post an excerpt of that version but if you can wait a bit until the prior issue is resolved in 0.3 I'll make the necessary code available.

@markatosi commented on GitHub (Nov 26, 2025): I have a ResizeHandler that does not have the issue you describe and it works fine so I suspect you are doing something not quite right. There may still be a bug of course but someone more knowledgeable about the inner workings of the new Electron.Net can address that. My handler has a temporary work-around because of issue #944 so I don't want to post an excerpt of that version but if you can wait a bit until the prior issue is resolved in 0.3 I'll make the necessary code available.
Author
Owner

@mafei1982 commented on GitHub (Nov 26, 2025):

I have a ResizeHandler that does not have the issue you describe and it works fine so I suspect you are doing something not quite right.

There may still be a bug of course but someone more knowledgeable about the inner workings of the new Electron.Net can address that.

My handler has a temporary work-around because of issue #944 so I don't want to post an excerpt of that version but if you can wait a bit until the prior issue is resolved in 0.3 I'll make the necessary code available.

I am using BlazorMonaco, it seems the error comes from its editor when resizing. But it works fine when in browser.

@mafei1982 commented on GitHub (Nov 26, 2025): > I have a ResizeHandler that does not have the issue you describe and it works fine so I suspect you are doing something not quite right. > > There may still be a bug of course but someone more knowledgeable about the inner workings of the new Electron.Net can address that. > > My handler has a temporary work-around because of issue [#944](https://github.com/ElectronNET/Electron.NET/issues/944) so I don't want to post an excerpt of that version but if you can wait a bit until the prior issue is resolved in 0.3 I'll make the necessary code available. I am using BlazorMonaco, it seems the error comes from its editor when resizing. But it works fine when in browser.
Author
Owner

@markatosi commented on GitHub (Nov 26, 2025):

I am using BlazorMonaco, it seems the error comes from its editor when resizing. But it works fine when in browser.

In that case I doubt my code will be of any assistance in this matter. Have a good week. You may want to ask about this on the BlazorMonaco repo just to cover all your bases.

@markatosi commented on GitHub (Nov 26, 2025): > I am using BlazorMonaco, it seems the error comes from its editor when resizing. But it works fine when in browser. In that case I doubt my code will be of any assistance in this matter. Have a good week. You may want to ask about this on the BlazorMonaco repo just to cover all your bases.
Author
Owner

@mafei1982 commented on GitHub (Nov 26, 2025):

I am using BlazorMonaco, it seems the error comes from its editor when resizing. But it works fine when in browser.

In that case I doubt my code will be of any assistance in this matter. Have a good week. You may want to ask about this on the BlazorMonaco repo just to cover all your bases.

It seems the error does not affect any functionality. So I just write a js function to shallow this error...

@mafei1982 commented on GitHub (Nov 26, 2025): > > I am using BlazorMonaco, it seems the error comes from its editor when resizing. But it works fine when in browser. > > In that case I doubt my code will be of any assistance in this matter. Have a good week. You may want to ask about this on the BlazorMonaco repo just to cover all your bases. It seems the error does not affect any functionality. So I just write a js function to shallow this error...
Author
Owner

@mafei1982 commented on GitHub (Nov 26, 2025):

It is not an issue for ElectronNet

@mafei1982 commented on GitHub (Nov 26, 2025): It is not an issue for ElectronNet
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1020