Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Similar issue here, but WebView2 pops out completely outside of Outlook window. It happens when I drag Outlook window from the screen with higher DPI to the screen with lower DPI. Outlook window opened on the screen with higher DPI displays WebView2 properly.
I've already tried to somehow handle control position from the code, but without any luck. Some info on Office solutions scaling here:
https://learn.microsoft.com/en-us/office/client-developer/ddpi/handle-high-dpi-and-dpi-scaling-in-your-office-solution
The only way to make Webview2 stay in place is to set "Display options" in Outlook to "Optimize for compatibility", but it generally causes Outlook to look blurred. (https://davton.com/blog/outlook-update-breaks-plugins/)
The same issue happens on Outlook 2112 (Office 365) and was happening on Outlook 2019.