首页 > 解决方案 > ExtJs 现代 6.0.2:在 Chrome 90 上的某些情况下未触发绘制事件

问题描述

在 sencha Extjs 6.0.2 Modern中,绘制事件不会在 Chrome 90 的 Ext.dataview.List 组件上触发。在桌面上测试。

签出这个小提琴

标签: google-chromeextjsextjs6-modern

解决方案


将此添加到我的 app.scss 解决了我的问题

.x-paint-monitor.cssanimation {
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 0.0010ms;
    animation-duration: 0.0010ms;
}

持续时间0.0010ms是运行良好的最小值。


推荐阅读