mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Get error when resizing window using ElectronNet with Blazor #1020
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mafei1982 on GitHub (Nov 26, 2025).
Steps to Reproduce:
Below error will show
@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.
@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.
@markatosi commented on GitHub (Nov 26, 2025):
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.
@mafei1982 commented on GitHub (Nov 26, 2025):
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):
It is not an issue for ElectronNet