On Windows, removing the window from snapped to unsnapped using the Windows+Arrow Keys, or when moving between screens using Shift+Windows+Arrow Keys, the BrowserViews inside would not resize correctly.
This PR brings back the onResize handler for Windows (which I believe was removed to try and improve performance) but includes an exception that if onWillResize is being called simultaneously it won't resize the window twice.
Summary
On Windows, removing the window from snapped to unsnapped using the Windows+Arrow Keys, or when moving between screens using Shift+Windows+Arrow Keys, the BrowserViews inside would not resize correctly.
This PR brings back the
onResize
handler for Windows (which I believe was removed to try and improve performance) but includes an exception that ifonWillResize
is being called simultaneously it won't resize the window twice.Ticket Link
https://mattermost.atlassian.net/browse/MM-59412