-
-
Notifications
You must be signed in to change notification settings - Fork 738
Description
Hi,
I've observed that OnResize event in electron is not triggered in few corner cases as below.
1. When the window is resized rapidly and on releasing at nearer position to the top of the screen, window will be auto adjusted to occupy the screen available --> At that time the OnResize event not triggered
2. When the window is resized rapidly and on releasing at nearer position to the minimum height of the window, then it will be auto adjusted to occupy the minimum height of the window --> At that time the OnResize event not triggered
Below are the more details on how i am using the OnResize event in my case.
I have a parent div container which has the height in terms of vh(viewport height) and the parent div has two child div's in it. Among those child-div1 has a fixed height and child-div2 has the variable height.
The variable height of the child-div 2 is calculated by subtracting the child-div1's height from the parent-div's current height. This variable height calculation event is triggered by "Electron.WindowManager.BrowserWindows.OnResize" event.
Please let me know if i am missing something or the issue can be fixed from Electron.NET
Thanks in advance