我有我的控件,它们是可见的。现在突然之间,今天他们看起来像这样:
而之前每个都有一个选择器。我没有更改任何代码怎么会突然发生这种情况?
更新:这只发生在新版本的谷歌浏览器 (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 应该就没有了。
这是该解决方法的官方公告:
关于extjs - Sencha 项目突然消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18379951/