Add-ins on the Outlook for Windows 10 desktop app use Edge-based HTML renderer . I'm trying to open a popup with window.open() command shown below:
var popupDimensions = "height=800,width=600"; var link = 'https://same-domain-of-addin.com/some/page'; window.open(link, null, [ popupDimensions, "resizable", "scrollbars", "location", "status", "menubar" ].join(','));
This opens a new popup dialog (which is again Edge-based ) but however it does not honor these flags fully:
Is there a workaround to make the window have the following properties? ( in descending order of preference ):
This behavior is by-design. The windowFeatures parameters are not applicable in Edge Webview based win-32 Outlook. We track Outlook add-in feature requests on our user-voice page . Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.
An alternative is to call window.open with a url that is not in a domain in your AppDomains. This will pop out to the default browser instead.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.