extjs - Sencha 项目突然消失

标签 extjs sencha-touch sencha-touch-2

我有我的控件,它们是可见的。现在突然之间,今天他们看起来像这样:

enter image description here

而之前每个都有一个选择器。我没有更改任何代码怎么会突然发生这种情况?

更新:这只发生在新版本的谷歌浏览器 (v29) 中。它不会发生在 Safari 中。我怎样才能通过这个?是 Chrome 错误吗?

最佳答案

这是 Sencha 和 Chrome 29 的一个已知错误。您必须调整 Sencha 的 Mixin st-box 才能解决该错误。

Mixin 可以在 resources/themes/stylesheets/sencha-touch/base/mixins/_Class.scss 中找到

将其更改为:

@mixin st-box($important: no) {
    @if $important == important {
        display: flex !important;
        display: -webkit-box !important;
       display: -ms-flexbox !important;
    } @else {
        display: flex;
        display: -webkit-box;
        display: -ms-flexbox;
    }
 }

然后重新编译你的 css,bug 应该就没有了。

这是该解决方法的官方公告:

http://www.sencha.com/forum/announcement.php?f=90&a=43

关于extjs - Sencha 项目突然消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18379951/

相关文章:

sencha-touch - sencha touch如何连接相机?

html - sencha 触摸选项卡面板选项卡的图标

javascript - Sencha触摸: toolbar is not scrolling properly

javascript - 当 tabBarPosition 为 'top' 时在选项卡栏上显示图标,

javascript - ExtJS 4 - 添加底部工具栏后的额外边框

javascript - Extjs 菜单在 Firefox 中不能用鼠标滚轮滚动

extjs - 如何在 Sencha Touch 中转换日期和时间的格式?

javascript - 新的sencha touch sdk工具

extjs - 如何在 ExtJS 中序列化模态窗口内的表单?

ios - 如何在 iPhone 上使用 sencha touch 调试 sass