javascript – 谷歌Chrome更新后,Sencha Touch旋转

前端之家收集整理的这篇文章主要介绍了javascript – 谷歌Chrome更新后,Sencha Touch旋转前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

在我将Google Chrome更新到最新版本(v29.0.1547.57 m)后,Sencha Touch应用程序的某些部分会自动旋转.我正在使用Sencha Touch v2.2.1.

例如Ext.Msg.Alert,我得到标题但没有消息.

Ext.Msg.alert(‘Refreshing Session’,’test’,null);

另外我在Ext.navigation.View中的所有按钮都在左侧,即使我明确指出对齐:’右’

Ext.navigation.View的标题也是空的,即使我设置它.

我的代码中没有更改任何内容.使用旧版Google Chrome v28.0.1500.95,一切正常,并且仍在使用.

最佳答案
我也遇到过问题,这个来自sencha论坛的快速解决方案为我解决了这个问题:
http://www.sencha.com/forum/showthread.php?269123-2.2.1-default-app.css-amp-chromium-blink-problem&p=987612&viewfull=1#post987612>

替换mixin st-Box并重新编译css

  1. @mixin st-Box($important: no) {
  2. @if $important == important {
  3. display: flex !important;
  4. display: -webkit-Box !important;
  5. display: -ms-flexBox !important;
  6. } @else {
  7. display: flex;
  8. display: -webkit-Box;
  9. display: -ms-flexBox;
  10. }
  11. }

猜你在找的CSS相关文章