You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When window's transparent property is true, can not emit 'maximize' or 'unmaximize' event correctly #23275
Activity
ramenski commentedon May 18, 2020
I have the same problem. (frame: false, transparent: true)
But when I double-clicked on element with -webkit-app-region: drag; events emit correctly.
tzach-chase commentedon May 28, 2020
A possible workaround is to manually trigger the event when calling
maximize()(and other methods):I did notice another issue: When double-clicking a draggable area a
resizeevent is triggered then followed by twomaximizeevents.amrbashir commentedon Jun 22, 2020
The issue still exists on electron
9.0.0, settingtransparenttotruealso disables the window snapping/docking to edges of screen.@tzach-chase I tired your workaround with no luck so far.
amrbashir commentedon Jun 22, 2020
This workaround submitted in #12854 , fixes the issues with maximizing.
electron-triage commentedon Mar 9, 2021
The Electron version reported on this issue is no longer supported. See our supported versions documentation.
If this is still reproducible on a supported version, please open a new issue with any other new information that a maintainer should know.
Thank you for taking the time to report this issue and helping to make Electron better! Your help is appreciated.