当window.location更改时,加载项开始缩小。Outlook 2016版本1711(构建8730.2175单击运行)

当window.location更改时,加载项开始缩小。Outlook 2016版本1711(构建8730.2175单击运行),outlook,outlook-addin,outlook-web-addins,Outlook,Outlook Addin,Outlook Web Addins,任何位置更改都会将几个像素添加到帧宽度,而不是边栏宽度。这就是外接程序缩小的原因 使用location.hash更改页面的angular router会遇到这个问题 下面是一个显示问题的代码示例 <p id="debug"></p> <br> <a href="{link to any.html}">reload</a> <br> <a id="cl" onclick="changeLocationHash()">

任何位置更改都会将几个像素添加到帧宽度,而不是边栏宽度。这就是外接程序缩小的原因

使用location.hash更改页面的angular router会遇到这个问题

下面是一个显示问题的代码示例

<p id="debug"></p>
<br>
<a href="{link to any.html}">reload</a>
<br>
<a id="cl" onclick="changeLocationHash()">Change location hash</a>

<script type="application/javascript">
    function changeLocationHash() {
        window.location.hash = '' + Math.random();
    }

    setInterval(function () {
        var _height = document.documentElement.clientHeight;
        var _width = document.documentElement.clientWidth;

        document.getElementById('debug').innerText = 'frame ' + _width + 'x' + _height;
    }, 1000);
</script>



更改位置散列 函数changeLocationHash(){ window.location.hash=''+Math.random(); } setInterval(函数(){ var _height=document.documentElement.clientHeight; var_width=document.documentElement.clientWidth; document.getElementById('debug').innerText='frame'+\u width+'x'+\u height; }, 1000);

谢谢。

这是一个已知的问题。请查看此解决方案并更新此修复的时间线

这是一个已知的问题。请查看此解决方案并更新此修复的时间线

基本上,当你不断点击你的电子邮件阅读它们时,外接程序的字体变得越来越小…基本上,当你不断点击你的电子邮件阅读它们时,外接程序的字体变得越来越小。。。