Javascript extjs modern NS\u错误\u在对话框显示()上不可用

Javascript extjs modern NS\u错误\u在对话框显示()上不可用,javascript,firefox,extjs,dialog,extjs6-modern,Javascript,Firefox,Extjs,Dialog,Extjs6 Modern,我在firefox 60.0.2上的自定义对话框的dialog.show()上收到NS\u ERROR\u NOT\u AVAILABLE异常。 调试后,我发现异常在ext modern all debug.js:value=computedStyle.getPropertyValue(name)的第85351行产生其中属性名称为不透明度,在computedStyle中不可用 [Exception…”组件不可用“nsresult:”0x80040111(NS\u ERROR\u not\u av

我在firefox 60.0.2上的自定义
对话框的
dialog.show()
上收到NS\u ERROR\u NOT\u AVAILABLE异常。 调试后,我发现异常在ext modern all debug.js:
value=computedStyle.getPropertyValue(name)的第85351行产生其中属性
名称
不透明度
,在
computedStyle
中不可用

[Exception…”组件不可用“nsresult:”0x80040111(NS\u ERROR\u not\u available)”位置:“JS frame::debugger eval code:::第1行“数据:否”

对话框显示代码:

var thisObj = this;

        var wnd = Ext.create('myApp.view.desktop.something.CustomWindow',{

            onButtonSubmitClick: function(){
                thisObj.doSomething();
                this.close();
            }

        });

        wnd.show();
getCssStyleValue: function(name, value) {
    var testElement = this.getTestElement(),
        computedStyle = this.testElementComputedStyle,
        style = testElement.style;
    style.setProperty(name, value);
    if (Ext.browser.is.Firefox) {

        testElement.offsetHeight;
    }
    value = computedStyle.getPropertyValue(name);
    style.removeProperty(name);
    return value;
}
ExtJS调试函数:

var thisObj = this;

        var wnd = Ext.create('myApp.view.desktop.something.CustomWindow',{

            onButtonSubmitClick: function(){
                thisObj.doSomething();
                this.close();
            }

        });

        wnd.show();
getCssStyleValue: function(name, value) {
    var testElement = this.getTestElement(),
        computedStyle = this.testElementComputedStyle,
        style = testElement.style;
    style.setProperty(name, value);
    if (Ext.browser.is.Firefox) {

        testElement.offsetHeight;
    }
    value = computedStyle.getPropertyValue(name);
    style.removeProperty(name);
    return value;
}
这个bug和你有关系吗


有什么解决办法吗?

我不知道确切的原因,但是动画产生了这个bug。将我的
对话框中的动画设置为:

hideAnimation: null,
maximizeAnimation: null,
restoreAnimation: null,
showAnimation: null
一切都很顺利

我希望我的回答能帮助有同样问题的人