简体   繁体   English

ExtJS 冻结在 Safari 14

[英]ExtJS freeze on Safari 14

We have a problem using ExtJS with safari 14. We can easily reproduce the issue in the sencha documentation for that just click on the following link: https://examples.sencha.com/extjs/7.3.0/examples/kitchensink/?classic#remote-combo . We have a problem using ExtJS with safari 14. We can easily reproduce the issue in the sencha documentation for that just click on the following link: https://examples.sencha.com/extjs/7.3.0/examples/kitchensink/?经典#remote-combo

Once you're on the page just click somewhere outside the ExtJS form and your safari will freeze forever... (in the red area visible on the screenshot for instance)进入页面后,只需单击 ExtJS 表单之外的某个位置,您的 safari 将永远冻结...(例如,在屏幕截图中可见的红色区域)

https://i.stack.imgur.com/LX0uE.png https://i.stack.imgur.com/LX0uE.png

This is a big problem for us because our interfaces are not usable anymore on safari.这对我们来说是个大问题,因为我们的接口在 safari 上不再可用。 Does anyone already faced this problem and have a solution for that?有没有人已经面临这个问题并有解决方案?

Try to workaround it this way尝试以这种方式解决它

Ext.getBody().dom.addEventListener(
    'pointerdown',
    function(e) {
        if(Ext.fly(e.target).getAttribute('data-ref') === 'innerCt') {
            e.preventDefault();
        }
    }
)   

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM